Add AppRoleMove.ps1 sample: migrate Default Access to an explicit app role#3651
Open
msewaweru wants to merge 1 commit into
Open
Add AppRoleMove.ps1 sample: migrate Default Access to an explicit app role#3651msewaweru wants to merge 1 commit into
msewaweru wants to merge 1 commit into
Conversation
…t app role Adds a Microsoft Graph PowerShell SDK sample that migrates users and groups assigned the implicit "Default Access" role on an enterprise application to an explicit "User" app role, with dry-run and report-only modes. Authored by Jeevan Desarda. Provides a Microsoft-owned home for the script so customers are not directed to run a tenant-modifying script from a personal GitHub repository (relates to ADO work item 588327). Co-authored-by: Jeevan Desarda <15001780+jeevansd@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
KenitoInc
approved these changes
Jun 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes proposed in this pull request
samples/Scripts/AppRoleMove.ps1, a Microsoft Graph PowerShell SDK sample that migrates users and groups assigned the implicit Default Access role on an enterprise application (service principal) to an explicit User app role, in a safe and auditable way.-DryRunpreview mode and an Option 2 report-only mode, and generates CSV/JSON before/after reports.Co-authored-bytrailer.Why
Provides a Microsoft-owned home for the script so Microsoft Entra customers are not directed to run a tenant-modifying script from a personal GitHub repository. This unblocks publication of the Zscaler zidentity provisioning tutorial.
Other links