Skip to content

Error When Deploying to Sandbox #534

Closed Answered by freddydk
nicward asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah, this is the error coming from AAD:

Attempting authentication to https://api.businesscentral.dynamics.com/.default using clientCredentials...
The remote server returned an error: (401) Unauthorized. invalid_client
AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request is the client secret value, not the client secret ID, for a secret added to app '***'.

Will see if I can change the AL-Go error to include this - looks like a follow-up error.

So, your secret is wrong, probably correctly formatted, but the values are wrong.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@nicward
Comment options

Comment options

You must be logged in to vote
2 replies
@nicward
Comment options

@freddydk
Comment options

Answer selected by nicward
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants