How To Fix Azure Eventual Consistency Issue?

Milena Zlaticanin 0 Reputation points
2023-11-01T16:51:00.34+00:00

Hello đź‘‹
We are having issues with both app & service principal credentials where we are trying to generate a set of credentials and use them to create Azure Resource Groups. We are receiving an error “invalid client secret provided” due to credentials being eventually consistent. We were able to determine that service principal credentials are noticeably faster than app credentials. Do you have any recommendation on how we could potentially resolve this issue for both app & sp creds?

API we are using: https://github.com/microsoftgraph/msgraph-sdk-go/blob/main/models/password_credential.go#L16
https://github.com/microsoftgraph/msgraph-sdk-go/blob/main/models/service_principal.go#L13

Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
17,544 questions
{count} votes