WinGet-Wrapper icon indicating copy to clipboard operation
WinGet-Wrapper copied to clipboard

AADSTS700016: Application with identifier 'd1ddf0e4-d672-4dae-b554-9d5bdfd93547' was not found in the directory

Open colourofsound opened this issue 9 months ago • 3 comments

I've started seeing this issue when trying to import to Intune using Winget-wrapper.

d1ddf0e4-d672-4dae-b554-9d5bdfd93547 is the application ID for Microsoft Intune Powershell in Enterprise Applications. The usual troubleshooting that MS suggest doesn't seem to apply to this application. I'm not sure if anything has changed on the Microsoft side to break Winget-Wrapper; but I certainly haven't altered anything in my environment that would effect this.

Anyone else seeing this in their Intune/Azure environment? image

colourofsound avatar May 15 '24 10:05 colourofsound

The default application registration for Intune can't be used anymore. You need to create your own app with the correct permissions and then change the App ID for winget-wrapper.

https://learn.microsoft.com/en-us/samples/microsoftgraph/powershell-intune-samples/important/

For the future the GUI probably needs to updated to have a field for the self created app id.

InnovationForge-com avatar May 15 '24 10:05 InnovationForge-com

Ahh, that makes sense. At least I'm not going mad. Okidoke; I'm creating internal documentation for my help desk team should they need to make new apps for Intune, so this is vital stuff.

Where is the App ID for winget-wrapper set in the script?

colourofsound avatar May 15 '24 10:05 colourofsound

I created a pull request. The ID is used within the module Connect-MSIntuneGraph, which wasn't updated yet for the new ID that can be used. #17

InnovationForge-com avatar May 21 '24 15:05 InnovationForge-com