Unable to remove Inherited roles from user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2019 12:23 AM
Hi,
I need help in inherited roles.How to remove inherited roles for 50 users.
Thanks,
Pihu

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2022 11:49 AM
Hey Ken,
Unless something was customized in your instance, removing roles usually does not require Elevated roles. This translates to the script as well. I just tested running the script in both the background and fix script and it worked without requiring elevation.
Additionally, out of box functionality requires Elevated Roles only for adding higher security roles such as admin.
...Now, I believe an exception to the above is if you're using a protected scoped Application (Ex: a custom App with scoped Application Admin enabled). In that scenario, you cannot even SEE the role without elevating so I think the script would not work as well. I haven't tested this so it would be good to see if this is true or not for those curious hah.