Solved

Remove Security Group from DirSync enabled Office 365 Address Book

Posted on 2014-10-02
1
2,353 Views
Last Modified: 2014-10-02
Environment: Exchange Online, DirSync, Exchange 2010 sp3 to manage Distribution Lists.

We have a security group that is showing up in the Distribution Lists in Exchange Online. I removed the exchange attributes using the following command: Disable-DistributionGroup -Identity "Example Group". The group is no longer showing up on our on prem distribution list, but it is still visible in Exchange Online as a security group. I can see in DirSync that it did remove exchange attributes, and the only email address showing up in exchange online is an autogenerated onmicrosoft.com address. I even changed it to a global security group instead of a universal security group, but it still won't go away.

Hopefully I covered everything...
The only suggestion I saw online was deactivating dirsync, remove groups from office 365, and reactivate dirsync. There has to be a better way.

Thanks in advance.
0
Comment
Question by:bendretread
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 41

Accepted Solution

by:
Vasil Michev (MVP) earned 500 total points
ID: 40357509
No need to disable dirsync. Just run this:

 Get-MsolGroup -SearchString "group name" | ft *name,objectId

Open in new window


Note the value of the ObjectId attribute, then remove it:

Remove-MsolGroup -ObjectId b8cf2991-c04c-4744-ac71-5d0063bd1bea

Open in new window


Works again synced groups as well.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
A hard and fast method for reducing Active Directory Administrators members.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question