MSEndpointMgr / Intune

Microsoft Intune scripts
MIT License
643 stars 243 forks source link

Microsoft Intune PowerShell service principal Application ID. #74

Open Belikemigs opened 4 months ago

Belikemigs commented 4 months ago

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?

garlicbreaddessert commented 4 months ago

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!!

decommentator commented 4 months ago

same here. An update would be very nice

Speed1 commented 4 months ago

We have switched to Get-WindowsAutoPilotInfo for now. It uses the Graph Api.

Install-Script -Name Get-WindowsAutoPilotInfo -Force
Get-WindowsAutoPilotInfo.ps1 -online
bezik46 commented 3 months ago

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