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

Is it possible to authenticate using azure cli for local development? #711

Open
smartaquarius10 opened this issue Sep 23, 2022 · 0 comments

Comments

@smartaquarius10
Copy link

Hello,

I have done az login in my subscription on the terminal but this method NewAuthorizerFromCLI() is still not authenticating the request.

I'm calling log analytics workspace using operationalinsights.NewQueryClient(). Any suggestions please?

Err: operationalinsights.QueryClient#Execute: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="InvalidTokenError" Message="The provided authentication is not valid for this resource" InnerError={"code":"InvalidTokenError","message":"Could not validate the request. Challenge failed: SignatureVerificationFailed"}

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

No branches or pull requests

1 participant