Hi,
I'm currently trying to add the custom connector required for the CoE audit log components to my DLP policies via PowerShell using this guide https://docs.microsoft.com/en-us/power-platform/guidance/coe/limitations#custom-connectors-and-dlp
I have an elevated Power Platform Admin role, which i have signed in to using PowerShell and am running PowerShell as an administrator, yet when i come to run commands such as get-dlppolicy i'm just getting the error message below, any advice would be much appreciated!
Get-JwtToken : Exception calling "AcquireTokenByRefreshToken" with "3" argument(s): "AADSTS50158: External security challenge not satisfied. User will be redirected to another page or
authentication provider to satisfy additional authentication challenges.
Trace ID: e12515d1-f171-4d89-a766-c255f9236200
Correlation ID: a00f04f4-6b5a-4a7d-848b-a356f349aaf3
Timestamp: 2020-11-17 12:00:48Z"
At C:\Program Files\WindowsPowerShell\Modules\Microsoft.PowerApps.Administration.PowerShell\2.0.99\Microsoft.PowerApps.RestClientModule.psm1:68 char:14
+ $token = Get-JwtToken -Audience $audience
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-JwtToken], MethodInvocationException
+ FullyQualifiedErrorId : AdalServiceException,Get-JwtToken
Thanks,
Dale.
Michael E. Gernaey
9
Super User 2025 Season 1
bscarlavai33
5
Super User 2025 Season 1
getsplash
2