I had to create a new Client Secret Key (in Active Directory->App Registrations) for my Media Services application and replace the old key with new one in the code. Not sure why Azure doesn't give any specific warnings before token expiration date..
AdalServiceException: AADSTS7000215: Invalid client secret is provided
My Web App, which was working fine till yesterday, has suddenly started throwing the exception below since yesterday.
AggregateException: One or more errors occurred.
AdalServiceException: AADSTS7000215: Invalid client secret is provided.
Trace ID: de067aef-cfed-4468-9488-633704897701
Correlation ID: e0449ed4-02ab-4cf2-8859-e5f049e5f8e7
Timestamp: 2019-12-11 00:02:30Z
From brief investigation, I found that some service/application has expired. But, not able to figure out which one. Because, in "App Registrations" in Active Directory, all registrations which were expired have now been updated with new client secrets.
Also, this has started happening after Base64 encoding was done for setting Blob Metadata with;
The indexer has been given FieldMapping decoder as below;
FieldMapping("MetaAttribute", "MetaAttribute", FieldMappingFunction.UrlDecode())
How do I troubleshoot this? I don't see "App Service" registration in "App Registration". Is that the cause?
Sign in to comment
Sort by: Most helpful
I am trying to create a custom connector app using Azure Ad + MS Graph + PowerAutomate.
I have created an app with single-tenant and multiple tenants if I use the implicit grant type it gives the access token but I getting AADSTS7000215 error if I use the Authorization code type, I have tried multiple times to change the client secret key with no luck
Authorizing in Browser via Postman is working but it does not return the access token and shows the AADSTS7000215 error.
I am using a Microsoft Development account.
Could you have any idea of how to resolve it?
Sign in to comment