question

Manohar-1482 avatar image
0 Votes"
Manohar-1482 asked sikumars commented

Accidently deleted Azure security group, but unabe to restore it

A security group has been deleted from the Azure portal, since it is a security group, there is no option to restore it from Deleted groups. Is there any way to restore it. If restoration is not possible at least the info of users under the group Membership would be helpful

azure-active-directory
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Manohar-1482 ,
Just checking in to see if below either of answer helped. If this answers your query, please don’t forget to click "Accept the answer" and Up-Vote for the same, which might be beneficial to other community members reading this thread. And, if you have any further query do let us know.

0 Votes 0 ·
soysoliscarlos avatar image
1 Vote"
soysoliscarlos answered soysoliscarlos commented

Hi @Manohar-1482

Thank you for asking this question on the Microsoft Q&A Platform.

Unfortunately, there is no soft delete for Security groups, only for MS 365 Groups.

Hope this helps,
Carlos Solís Salazar


Accept Answer and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.

NOTE: To answer you as quickly as possible, please mention me in your reply.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Manohar-1482 , you can Accept Answer and Upvote, if the above response helped answer your query, others visiting the forum with the same query might get help.

NOTE: To answer you as quickly as possible, please mention me in your reply.

0 Votes 0 ·
Manohar-1482 avatar image
0 Votes"
Manohar-1482 answered

Hi @soysoliscarlos,

Oh okay, Thanks!!
Is there any way raising a support case can help?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

soysoliscarlos avatar image
0 Votes"
soysoliscarlos answered

@Manohar-1482

I don't think that Microsoft support can restore the security group, but you can try, you won't lose anything do in it.

Hope this helps,
Carlos Solís Salazar


Accept Answer and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.

NOTE: To answer you as quickly as possible, please mention me in your reply.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

sikumars avatar image
0 Votes"
sikumars answered sikumars edited

Hello @@Manohar-1482,

Thanks for reaching out.

Yes, as @soysoliscarlos mentioned, Azure AD Security Groups CANNOT be restored as they are not supported for soft-deletion today so any deletion is a hard delete. We are working on a feature to make it self-service. In the meantime, it is possible to recover some data with best effort to get all object IDs of group memberships by contacting MS support so that you can create a new group and use the following PowerShell script to add old group memberships to the new created group.

 Import-CSv -Path “C:\temp\Group_members_Object_ID.csv” | ForEach { $UPN=$_.MemberId
 add-MsolGroupMember -GroupObjectId “Object_ID_Of_The_New_Group” -GroupMemberObjectId $UPN -GroupMemberType User}

Hope this helps.


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.