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
?
dgal73
Jul 09, 2021Copper Contributor
Question: 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.- JeremyTBradshawNov 25, 2021Iron ContributorNope nothing yet. I've asked via the EXO PS module feedback address if Connect-IPPSSession will be brought up to par with Connect-ExchangeOnline, which is where I think this might become possible first. Just a guess though, really not sure what to expect.