question

SC-2222 avatar image
0 Votes"
SC-2222 asked KaelYao-MSFT commented

Cannot delete the distribution group in Exchange online admin center

Hi,
I cannot delete the distribution group in Exchange online admin center.

I also cannot edit this group.

And group is not displayed in the Azure Active Directory admin center.


Can you please write me suggestions on how to delete a group?

Thank you in advance.


136646-group-delete.png


136671-group-edit.png


office-exchange-online-itpro
group-delete.png (65.3 KiB)
group-edit.png (66.1 KiB)
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.

mschiavon avatar image
1 Vote"
mschiavon answered KaelYao-MSFT commented

Ok, at this point you need to open a ticket with Microsoft (click the "?" In the low right corner and open a ticket).
It seems a "orphaned" description on GUI...
Very strange.

M.

· 2
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.

Thank you.

0 Votes 0 ·

Hi @SC-2222

You may also open a ticket here in Microsoft 365 admin center:
136793-16.png


0 Votes 0 ·
16.png (18.4 KiB)
mschiavon avatar image
0 Votes"
mschiavon answered SC-2222 commented

Is your enviroment synced with AAD Connect? Do you have an Exchange OnPrem in Hybrid mode or not?

Marco

· 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.

@mschiavon
Yes, it is synced with AAD Connect.
Last sync: Less than 1 hour ago

I don't know if it is Hybrid. I don't have this information.
Is it possible to determine it from the user's point of view?
If yes, can you please write me how to do that?

Thank you.

0 Votes 0 ·
mschiavon avatar image
0 Votes"
mschiavon answered SC-2222 commented

Yes, from Exchange console, execute this command :
Get-HybridConfiguration | fl

see this guide :
check-if-my-environment-is-hybrid


· 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.

I checked that and Exchange is not working in a hybrid deployment.

0 Votes 0 ·
mschiavon avatar image
0 Votes"
mschiavon answered SC-2222 commented

well, try to connect to your tenant trought powershell and do this.. :


Get-MsolGroup cmdlet to get the GUID <= find the group

Remove-MsolGroup -ObjectId <GUID> -Force.

See my screenshot.
136650-screenshot-2021-09-30-at-143114.jpg



· 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.

Group is not displayed in list if I used Get-MsolGroup.
When I tried to run Get-MsolGroup -isAgentRole -UserPrincipalName "pattifuller@contoso.com"
I've got Get-MsolGroup : Access Denied. You do not have permissions to call this cmdlet.

0 Votes 0 ·
mschiavon avatar image
0 Votes"
mschiavon answered SC-2222 commented

You need to use an account (Office 365) that has Global Administrator role in tenant.

Try to login with a user with this right.

M.

· 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.

I'm using account with Global Administrator role.
I tried to export list of groups and there was a GUID of group.
After run Remove-MsolGroup -ObjectId <GUID> -Force
I've got Remove-MsolGroup : This group does not exist. Check the name and try again.

0 Votes 0 ·
mschiavon avatar image
0 Votes"
mschiavon answered SC-2222 commented

so the group is removed!
try to run Get-Msolgroup and try to see if there is or not the group that you deleted.

M.

· 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.

Using Get-Msolgroup, the group is not displayed and it was also not displayed before.
It was and still is displayed in Exchange admin center.

0 Votes 0 ·