Cannot access my environment - removed System Administrator role by mistake

Hajer Rhouma 0 Reputation points
2026-04-27T11:16:07.0466667+00:00

accidentally removed the System Administrator role from my account while testing custom security roles. I unchecked System Administrator and checked only a custom Data Scientist role. Now I am locked out and cannot reassign the role back.

I am the only user in this developer environment. No one else can help me restore access.

Please reassign the System Administrator role to my account.

Details:

  • Environment URL: [Moderator note: personal info removed]
  • User: [Moderator note: personal info removed]
  • User ID: [Moderator note: personal info removed]
  • System Administrator role ID: [Moderator note: personal info removed]

Thank you.

Microsoft Security | Microsoft Entra | Other
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.