[GH-ISSUE #1010] BUG: #535

Closed
opened 2026-03-02 12:43:01 +03:00 by kerem · 1 comment
Owner

Originally created by @obitbg on GitHub (Jul 6, 2022).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/1010

Describe the bug
Step 2 of the SAM wizard fails with "Could not find admin role on your user. Try refreshing this page fully (CTRL+F5) or logging in under the right user."

To Reproduce
Steps to reproduce the behavior:

Account is cipp@domain.com, is a global administrator on the tenant. Was used for step 1 to setup powershell device login.
Step 2 of the SAM Token Wizard succeeds in allowing cipp@ user to grant app permissions, and then immediately fails to:
"Could not find admin role on your user. Try refreshing this page fully (CTRL+F5) or logging in under the right user."

Expected behavior
Once permissions are granted, I would expect it to go to the next step without error.

Screenshots
image

Desktop (please complete the following information):

Windows 11, Edge Browser, Up to Date

Additional context
Add any other context about the problem here.

Originally created by @obitbg on GitHub (Jul 6, 2022). Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/1010 **Describe the bug** Step 2 of the SAM wizard fails with "Could not find admin role on your user. Try refreshing this page fully (CTRL+F5) or logging in under the right user." **To Reproduce** Steps to reproduce the behavior: Account is cipp@domain.com, is a global administrator on the tenant. Was used for step 1 to setup powershell device login. Step 2 of the SAM Token Wizard succeeds in allowing cipp@ user to grant app permissions, and then immediately fails to: "Could not find admin role on your user. Try refreshing this page fully (CTRL+F5) or logging in under the right user." **Expected behavior** Once permissions are granted, I would expect it to go to the next step without error. **Screenshots** ![image](https://user-images.githubusercontent.com/103391883/177613463-47e0f015-3246-47da-b71e-ddd40d9fa5b1.png) **Desktop (please complete the following information):** Windows 11, Edge Browser, Up to Date **Additional context** Add any other context about the problem here.
kerem 2026-03-02 12:43:01 +03:00
Author
Owner

@KelvinTegelaar commented on GitHub (Jul 7, 2022):

Fixed in dev

<!-- gh-comment-id:1178139217 --> @KelvinTegelaar commented on GitHub (Jul 7, 2022): Fixed in dev
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/CIPP#535
No description provided.