Office 365 Preview script for LogAnalytics fails
Opened this issue · 0 comments
MOKknudsen commented
I'm following the tasks on this page to add Office 365 Preview solution to Azure LogAnalytics
https://docs.microsoft.com/en-us/azure/azure-monitor/insights/solution-office-365
But when I run the script office365_subscription.ps1 it fails with
Method invocation failed because [Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext] does not contain a method named 'AcquireToke
n'.
At C:\scripts\office365_subscription.ps1:52 char:1
- $global:authResultARM = $authContext.AcquireToken($resourceAppIdURIAR ...