Looking for some guidance on an issue: o365 admin here. Was asked about cleaning up some AD objects to reduce risk. Some of these AD objects are tied into Sharepoint Online. We use a dirsync box. I want to have a list of things to "not remove" if they are tied to SPO at this time. Basic setup: AD>Dirsync>AzureAD
I'm trying to find the best way to report/search in AzureAD all the groups that might be tied to SPO. Is there an easy way to do that? If not, is anyone able to help with some guidance on some PoSH I can run to suss out info for this request. I just need some "help" figuring out where to start.