Forum Discussion
MaxineWaters
Sep 28, 2025Iron Contributor
Running on-prem script against 365 without storing plaintext creds
Looking to run a script on an on-prem server to collect audit logs from Exchange online without storing credentials in the script. Was wondering what the current best practice for this is, or if any...
AlabamaCypress
Dec 10, 2025Iron Contributor
Your script authenticates to Azure AD using the app ID and certificate, then calls the Microsoft Graph API or Exchange Online PowerShell to retrieve audit logs.