Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to retrive storage token #226

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gulywwx
Copy link
Contributor

@gulywwx gulywwx commented Aug 8, 2023

unable to get authorization token for storage endpoints when authenticating using a Service Principal using a Client Certificate in ASDK 1.2206

The error is like the following:
│ Error: unable to get authorization token for storage endpoints: adal: Refresh request failed. Status Code = '400'. Response body: {"error":"invalid_resource","error_description":"MSIS9602: The received \u0027resource\u0027 parameter is invalid. The authorization server can not find a registered resource with the specified identifier."} Endpoint https://adfs.local.azurestack.external/adfs/oauth2/token?api-version=1.0

I reckon because the endpoint is ResourceManagerEndpoint which is not a valid resource. BTW StorageAuthorizer seems not to be used

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant