You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the credentials are created. It takes a while for the credentials to be usable in Azure, something to do with their eventual consistency model.
I was wondering if you provide any advice here on the best way to check when the credential are ready for use?
I have in the past just used a while loop to call the API I need and if I get auth errors keep looping for up to 2 mins before giving up. I can live with this, but wondering if there is a better way.
Also wondering if there is a generic API endpoint I could use in a function like "wait_til_ready()" that calls that API in loop like above and then we know when the creds are ready for use.... or is this not possible because creds might be ready for say listing resources, but not ready in AAD for accessing group members (etc).
Thoughts would be appreciated.
Thanks,
Shane.
The text was updated successfully, but these errors were encountered:
Hi,
When the credentials are created. It takes a while for the credentials to be usable in Azure, something to do with their eventual consistency model.
I was wondering if you provide any advice here on the best way to check when the credential are ready for use?
I have in the past just used a while loop to call the API I need and if I get auth errors keep looping for up to 2 mins before giving up. I can live with this, but wondering if there is a better way.
Also wondering if there is a generic API endpoint I could use in a function like "wait_til_ready()" that calls that API in loop like above and then we know when the creds are ready for use.... or is this not possible because creds might be ready for say listing resources, but not ready in AAD for accessing group members (etc).
Thoughts would be appreciated.
Thanks,
Shane.
The text was updated successfully, but these errors were encountered: