Announcements
Azure Portal → Microsoft Entra ID → Monitoring → Diagnostic Settings → Add diagnostic setting, Check SignInLogs Send to ,Log Analytics Workspace and/or Storage Account or Event Hub
Automate export to Azure Storage with Azure Monitor Workbook or Data Export rule In Log Analytics → Tables → Export
UserSessionLogV2
D365 FO exposes user session data directly via its OData endpoint. This is the same data underlying the LCS "User Activity" section.
https://<your-d365-environment>.operations.dynamics.com/data/UserSessionLogV2 Authentication (Azure AD App Registration), Pull the audit data, Export to Azure Blob Storage. Azure Logic App / Power Automate ,
https://<your-d365-environment>.operations.dynamics.com/data/UserSessionLogV2
If you want a scheduled pull without maintaining PowerShell infrastructure, Recurrence (every 24h or weekly before the 7-day LCS window closes), Get Entra ID token (client credentials flow) , https://<env>.operations.dynamics.com/data/UserSessionLogV2?$filter=..., Parse JSON, Create CSV/JSON → Azure Blob Storage or Azure SQL Thanks, Shaluma
https://<env>.operations.dynamics.com/data/UserSessionLogV2?$filter=...
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 341 Most Valuable Professional
CU10121822-0 312
André Arnaud de Cal... 262 Super User 2026 Season 2