[GH-ISSUE #1016] BUG: SAM Wizard Step 2 #537

Closed
opened 2026-03-02 12:43:03 +03:00 by kerem · 3 comments
Owner

Originally created by @seanpcook on GitHub (Jul 11, 2022).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/1016

Description
After clicking the link and approving permissions for the app it returns the following error and does not move through the remaining steps. "No authentication code found. Please go back to the wizard and click the URL again."

To Reproduce
Steps to reproduce the behavior:

  1. Start automated SAM wizard
  2. Copy code from step 1 and click on link to authenticate
  3. Return to Wizard click on link in step 2
  4. Sign-on with GA to approve consent
  5. Error about no auth code is returned

Expected behavior
Expected the wizard to continue to step 3

Device

  • OS: WIN10Pro
  • Browser: Edge
    -Version: 103.0.1264.49
Originally created by @seanpcook on GitHub (Jul 11, 2022). Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/1016 Description After clicking the link and approving permissions for the app it returns the following error and does not move through the remaining steps. "No authentication code found. Please go back to the wizard and click the URL again." To Reproduce Steps to reproduce the behavior: 1. Start automated SAM wizard 2. Copy code from step 1 and click on link to authenticate 3. Return to Wizard click on link in step 2 4. Sign-on with GA to approve consent 5. Error about no auth code is returned Expected behavior Expected the wizard to continue to step 3 Device - OS: WIN10Pro - Browser: Edge -Version: 103.0.1264.49
kerem 2026-03-02 12:43:03 +03:00
Author
Owner

@seanpcook commented on GitHub (Jul 11, 2022):

Upgraded the CIPP platform and error has changed to saying the user does not have admin access. Will troubleshoot and submit another issue if I'm not able to resolve.

<!-- gh-comment-id:1180812094 --> @seanpcook commented on GitHub (Jul 11, 2022): Upgraded the CIPP platform and error has changed to saying the user does not have admin access. Will troubleshoot and submit another issue if I'm not able to resolve.
Author
Owner

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

Make sure you're running the latest version. if you're getting an error about the admin role, click on the URL bar and hit enter again.

<!-- gh-comment-id:1180815886 --> @KelvinTegelaar commented on GitHub (Jul 11, 2022): Make sure you're running the latest version. if you're getting an error about the admin role, click on the URL bar and hit enter again.
Author
Owner

@seanpcook commented on GitHub (Jul 11, 2022):

Make sure you're running the latest version. if you're getting an error about the admin role, click on the URL bar and hit enter again.

That fixed the admin msg issue. Got through all 7 steps. Thanks Kelvin!

<!-- gh-comment-id:1180842738 --> @seanpcook commented on GitHub (Jul 11, 2022): > Make sure you're running the latest version. if you're getting an error about the admin role, click on the URL bar and hit enter again. That fixed the admin msg issue. Got through all 7 steps. Thanks Kelvin!
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#537
No description provided.