Skip to content

Instantly share code, notes, and snippets.

@mobernberger
Created November 12, 2022 16:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mobernberger/961f4177df8ecc879c346185368077a5 to your computer and use it in GitHub Desktop.
Save mobernberger/961f4177df8ecc879c346185368077a5 to your computer and use it in GitHub Desktop.

Disable account linking for your tenant using the following steps:

  1. Download this PowerShell script
  2. Open an instance of the PowerShell script in admin mode
  3. Run the following command first Set-ExecutionPolicy unrestricted
  4. Run the PowerShell script
  5. Follow the instructions the script prompts
  6. The cmdlet will prompt you to sign in with your AAD account
  7. Once signed in, it will disable account linking for your tenant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment