Forum Discussion
JeremyTBradshaw
Jul 02, 2021Iron Contributor
MS Graph (or alternative) for M365/O365 Retention Policy management
Wondering if anyone is aware of whether we can get API access to the Security and Compliance Center. I'm not even sure what to call it, but I'm in need to manage retention policies that today are ma...
- Jan 25, 2022
Good news guys!
Our request just got updated!
Check it out: https://m365log.com/apps-365/certificate-based-authentication-for-security-and-compliance-center-powershell/
Victor_Ivanidze
Jul 03, 2021Bronze Contributor
Hello JeremyTBradshaw ,
did you see this:
https://docs.microsoft.com/en-us/microsoft-365/enterprise/connect-to-all-microsoft-365-services-in-a-single-windows-powershell-window?view=o365-worldwide
?
- dgal73Jul 09, 2021Copper ContributorQuestion: are you prompted for user/pass/mfa for each of the services you connect to when using the method in that article?
- JeremyTBradshawJul 09, 2021Iron ContributorI think each module needs its own token to cache initially, so it makes sense they'd each need the user / pass / MFA, but then the frequency would depend on a bunch of things.
But in any case, I truly am only after non-user/pass authentication. Since either MS Graph or Connect-ExchangeOnline can each do client credential OAuth flow (certificate credential), I just have this one part left which still only supports interactive user/pass. Hoping somebody has found a way...- JhoseferNov 25, 2021Copper ContributorHi Jeremy!
Did you found any solution for this? I have the same problem to solve as yours.
- JeremyTBradshawJul 04, 2021Iron ContributorHi, I have seen that page and appreciate it. But, I'm specifically looking for unattended approach and ideally not using username/password, rather certificate and registered app in Azure AD. This is doable today for several of the services in the link you referred, but not for the Security and Compliance Center yet.