microsoft / Intune-Resource-Access

Sample code and scripts for interfacing with the Intune Resource Access APIs.
MIT License
54 stars 58 forks source link

Set-IntuneAuthenticationToken : One or more errors occurred #125

Open keithho168 opened 2 years ago

keithho168 commented 2 years ago

Hi all, I am using the tool to succesfully deploy a cert. When I run below command and logged in, but below error appeared.

I tried to login to intune as global admin but still got the error.

Please help to provide a right way to solve the problem.

thanks


PS C:\Program Files\WindowsPowerShell\Modules\PfxImportPS> Set-IntuneAuthenticationToken -AdminUserName $AdminUPN Set-IntuneAuthenticationToken : One or more errors occurred. At line:1 char:1

rex657 commented 2 years ago

Had the same error on a Server 2012 R2, suggest to check the AAD no-interactive sign-in log and confirm if this sign-in is blocked with error code 1002016 by Azure moving to support TLS 1.2 and higher

Mischko1986 commented 2 months ago

Hi, i have the same error. Can you tell me, how you solved the issue?

tmueller01 commented 2 months ago

Hi, I have the same error, is there already a solution here? Or a hint to solve the issue?