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

The received access token is not valid: at least one of the claims 'puid' or 'altsecid' or 'oid' should be present #501

Open
aqadi-admin opened this issue Dec 12, 2024 · 1 comment
Assignees
Labels
question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@aqadi-admin
Copy link

Hi all,

I am building a CI/CD pipeline for a personal project of mine. Currently, I am running a work flow from my Github repo and I keep running into errors. Referring to this Microsoft documentation (service principal method) - https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blobs-static-site-github-actions?tabs=userlevel

Two errors appear when running the workflow:

Error: (InvalidAuthenticationToken) The received access token is not valid: at least one of the claims 'puid' or 'altsecid' or 'oid' should be present. If you are accessing as application please make sure service principal is properly created in the tenant.

Error: Login failed with Error: The process '/usr/bin/az' failed with exit code 1. Double check if the 'auth-type' is correct. Refer to https://github.com/Azure/login#readme for more information.

@MoChilia MoChilia self-assigned this Dec 13, 2024
@MoChilia MoChilia added the question The issue doesn't require a change to the product in order to be resolved. Most issues start as that label Dec 13, 2024
@MoChilia
Copy link
Member

Hi @aqadi-admin, could you share the workflow with me? Are you using secret-based login or OIDC? And how did you create the service principal? Plz double check whether the service principal exists in your tenant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

2 participants