[GH-ISSUE #1271] [Feature Request]: Clear ImmutableId for User #710

Closed
opened 2026-03-02 12:44:32 +03:00 by kerem · 4 comments
Owner

Originally created by @coolriku on GitHub (Dec 17, 2022).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/1271

Originally assigned to: @coolriku on GitHub.

Description of the new feature - must be an in-depth explanation of the feature you want, reasoning why, and the added benefits for MSPs as a whole.

When you have a tenant with Azure AD Connect sync, and you remove an onpremise user, it will be automatically removed from Office 365.
If you want restore the user in Offic365 to Cloud only it will be removed again by AD Connect with the next sync.
To overcome this issue you need to restore the user and remove/clear the ImmutableId attribute in Office365.

I saw that on FR #57 there was a discussion about it, but can't find anything related to it in the code.

PowerShell commands you would normally use to achieve above request

Set-MsolUser -ImmutableId ""

Originally created by @coolriku on GitHub (Dec 17, 2022). Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/1271 Originally assigned to: @coolriku on GitHub. ### Description of the new feature - must be an in-depth explanation of the feature you want, reasoning why, and the added benefits for MSPs as a whole. When you have a tenant with Azure AD Connect sync, and you remove an onpremise user, it will be automatically removed from Office 365. If you want restore the user in Offic365 to Cloud only it will be removed again by AD Connect with the next sync. To overcome this issue you need to restore the user and remove/clear the ImmutableId attribute in Office365. I saw that on FR #57 there was a discussion about it, but can't find anything related to it in the code. ### PowerShell commands you would normally use to achieve above request Set-MsolUser -ImmutableId ""
kerem 2026-03-02 12:44:32 +03:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 17, 2022):

Thank you for creating a feature request!
Your current priority is set to "No Priority". No Priority Feature requests automatically get closed in two days if a contributor does not accept the FR.

If you are a sponsor you can request an upgrade of priority. To upgrade the priority type "I would like to upgrade the priority".
If you want this feature to be integrated you can always do this yourself by checking out our contributions guide at https://cipp.app/docs/dev/. Contributors to the CIPP project reserve the right to close feature requests at will.
If you'd like this feature request to be assigned to you, please comment "I would like to work on this please!".

<!-- gh-comment-id:1356255203 --> @github-actions[bot] commented on GitHub (Dec 17, 2022): Thank you for creating a feature request! Your current priority is set to "No Priority". No Priority Feature requests automatically get closed in two days if a contributor does not accept the FR. If you are a sponsor you can request an upgrade of priority. To upgrade the priority type "I would like to upgrade the priority". If you want this feature to be integrated you can always do this yourself by checking out our contributions guide at https://cipp.app/docs/dev/. Contributors to the CIPP project reserve the right to close feature requests at will. If you'd like this feature request to be assigned to you, please comment "I would like to work on this please!".
Author
Owner

@coolriku commented on GitHub (Dec 17, 2022):

I would like to work on this please!

<!-- gh-comment-id:1356255265 --> @coolriku commented on GitHub (Dec 17, 2022): I would like to work on this please!
Author
Owner

@github-actions[bot] commented on GitHub (Dec 17, 2022):

Great! I assigned you (@coolriku) to the issue. Have fun working on it!

<!-- gh-comment-id:1356255376 --> @github-actions[bot] commented on GitHub (Dec 17, 2022): Great! I assigned you (@coolriku) to the issue. Have fun working on it!
Author
Owner

@KelvinTegelaar commented on GitHub (Dec 18, 2022):

Added in dev!

<!-- gh-comment-id:1356788559 --> @KelvinTegelaar commented on GitHub (Dec 18, 2022): Added in dev!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/CIPP#710
No description provided.