-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with Graph Requests #2
Comments
I have a similar issue. Initially I had an error thrown by Install-Modules because the MSGraphRequest module thew up this error "This module 'MSGraphRequest' may override the existing commands. If you still want to install this module I'm now getting an issue when the Test-AppList script runs: Unlike the issue reported by rickdm I'm not getting an authentication error. I'm not sure if the Invoke-MSGraphOperation Command is even running on the build agent and I'm unsure how I can see this in the Pipeline logs or test it. Could this be related to the issue that I had in the Install-Modules script? |
I have managed to resolve my issue. The unhandled error message was caused because we had no Win32 apps registered in Intune which caused the error in the Test-AppList script. When the Graph query pulled back no results (null) the if statement is set to error. |
Just in case it's relevant, here's an MSGraph error from my first run.
|
Fresh install, exact same issue (Install-Modules section fails) with the @skyblaster 's error message. Any insight? |
So adding the AllowClobber parameter to the script made it go further. I expected 7ZIP and Notepad++ to be added to our Intune App repository after execution but no such luck. |
Also had original issue with the -allowclobber fixing my installing of prerequest items. Should just be pushed to sourcecode. |
Ran into same warning in my testing - mine came from my icon wasnt named "icon.png" in one of my application folders. I suggest you go back to check_app_files stage and see if you can spot anything giving you errors there. Not sure if "Enable system diagnostics" in your run pipeline gives you any help. Either way, dont think this is related to the issue with the install-modules or graph errors. |
#5 should fix the issue! |
Initially there was an error thrown by
Install-Modules
because theMSGraphRequest
module required an additional flag to be passed. Now I am receiving another error related to GraphMy Service Principle has the permissions
DeviceManagementApps.ReadWrite.All
andDeviceManagementRBAC.ReadWrite.All
The text was updated successfully, but these errors were encountered: