GitHub – Romanitho/WingetIntunePackager: Intune Winget app packager
I added two Textboxes to support Microsofts Changes regarding the Intune App Registration.
You just have to enter the Correct Client ID and Redirect URI of your own App Registration. The Application needs the following Permissions delegated Graph Permissions:

And the following Redirect URI:https://login.microsoftonline.com/common/oauth2/nativeclient


