WinGet-Wrapper
WinGet-Wrapper copied to clipboard
AADSTS700016: Application with identifier 'd1ddf0e4-d672-4dae-b554-9d5bdfd93547' was not found in the directory
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?
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.
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?
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