Microsoft Intune PowerShell service principal Application ID.
Belikemigs opened this issue · 5 comments
With the recent announcement from Microsoft that scripts containing the Intune application ID (d1ddf0e4-d672-4dae-b554-9d5bdfd93547) will need to be updated with the new application ID. Does anyone know if this one or those in PowerShell gallery when using "Install-Script -Name Upload-WindowsAutopilotDeviceInfo" will be updated?
We are seeing the result of this now - getting AADSTS700016 errors. We use this script a lot so if it could be fixed ASAP we'd be very grateful!!
same here. An update would be very nice
We have switched to Get-WindowsAutoPilotInfo for now. It uses the Graph Api.
Install-Script -Name Get-WindowsAutoPilotInfo -Force
Get-WindowsAutoPilotInfo.ps1 -online
That one work. The original script does not, if application is re-created (as per this - https://learn.microsoft.com/en-us/answers/questions/1659638/weve-detected-a-microsoft-intune-powershell-script?page=1 ), all I get is an error:
AADSTS500119: Redirect URIs with urn: schemes are prohibited. Use a different scheme, or https://login.microsoftonline.com/common/oauth2/nativeclient