0 votes

Hello All, is is possible via Adaxes deprovisioning to remove all his Azure and M365 roles besides custom Powershell script?

Regards Ivaylo

by (100 points)
0

@ivaylo.valkov

This should be possible but only if you use groups to manage your role and license assignments. Otherwise you will need to use custom Powershell.

In Azure AD, you can have groups assigned to role assignments or licenses. Then during a deprovision use Adaxes to remove the user from the group, and thus removed from the role or license assignment.

+1

This is what I though so I changed the roles assignment from direct to group based.

Thank you!

1 Answer

0 votes
by (272k points)
selected by
Best answer

Hello Ivaylo,

Unfortunately, there is no such possibility. That is something you can only do using a script. The following article by Microsoft should be helpful: https://learn.microsoft.com/en-us/powershell/module/azuread/remove-azureaddirectoryrolemember?view=azureadps-2.0.

Related questions

0 votes
1 answer

I have Deprovision set to the following It half works. It will only disable the users and thats it. It wont move them to a disabled users OU, reset the PW or change the ... are empty". I don't know what is wrong or why it isnt working as intended.

asked Nov 28, 2022 by LEGIT1 (150 points)
0 votes
1 answer

Using the built in 'Deprovision' Custom Command, I would like the person that is trying to Deprovision a user (Help Desk member) be asked who (from a list of existing active ... to leave the question 'blank', which means that no one gets access to the mailbox.

asked Apr 22, 2020 by RayBilyk (230 points)
0 votes
1 answer

Hi Guys, I'm trying to clean all users from Local Group test_group, and next new bunch of users form TXT fiel, by executing the following script as a scheduled task Import-Module ... .txt I have only 600 users. Do you have any idea how to improve this script?

asked Feb 27, 2015 by axmaster (510 points)
0 votes
1 answer

We have come across an issue we need assistance with. We would like to add a process in the deprovisioning to Cancel all reoccurring or non reoccurring meetings for the user. We have orphaned meetings tieing up rooms.

asked Feb 23, 2017 by willy-wally (3.2k points)
0 votes
1 answer

For all our shared mailbox in Exchange we create security groups to manage the sendas, send on behalf and full access permissions. Users go via the web interface and select the ... should I now use? Unless there is a better approach I am open to ideas.

asked Dec 22, 2023 by MikeBeattie (90 points)
3,351 questions
3,052 answers
7,791 comments
545,091 users