Skip to content
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

Intune doesn't work anymore #137

Open
SobriiTeam opened this issue Aug 22, 2023 · 2 comments
Open

Intune doesn't work anymore #137

SobriiTeam opened this issue Aug 22, 2023 · 2 comments

Comments

@SobriiTeam
Copy link

Following this: https://vcredist.com/import-vcintuneapplication/#examples

And got this with the Enterprise Apps created by default:

VERBOSE: POST https://graph.microsoft.com/Beta/deviceAppManagement/mobileApps
WARNING: An error occurred while creating the Win32 application. Error message: Forbidden: {
"_version": 3,
"Message": "Application is not authorized to perform this operation. Application must have one of the following
scopes: DeviceManagementApps.ReadWrite.All - Operation ID (for customer support): 00000000-0000-0000-0000-000000000000

Then, I authenticated to Azure AD using a new Azure AD Apps where I manually put all required permissions, and I got this:

VERBOSE: POST https://graph.microsoft.com/Beta/deviceAppManagement/mobileApps
WARNING: An error occurred while creating the Win32 application. Error message: UnknownError:
{"ErrorCode":"Forbidden","Message":"{\r\n "_version": 3,\r\n "Message": "An error has occurred - Operation ID
(for customer support): 00000000-0000-0000-0000-000000000000 - Activity ID: e13e850d-fa50-444a-ae80-695aff174bfa - Url:

https://fef.msub06.manage.microsoft.com/AppLifecycle_2308/StatelessAppMetadataFEService/deviceAppManagement/mobileApps?
api-version=5023-06-15",\r\n "CustomApiErrorPhrase": "",\r\n "RetryAfter": null,\r\n "ErrorSourceService":
"",\r\n "HttpHeaders": "{\"WWW-Authenticate\":\"Bearer
realm=\\\"urn:intune:service,9225b241-44e1-44a8-8bfe-c10e39177505,f0f3c450-59bf-4f0d-b1b2-0ef84ddfe3c7,3e9c57b9-808
d-4aa0-9500-4b2d369279e7\\\"\"}"\r\n}","Target":null,"Details":null,"InnerError":null,"InstanceAnnotations":[]}
VERBOSE: Current authentication token expires in (minutes): 59

:-( !

@aaronparker
Copy link
Owner

aaronparker commented Mar 17, 2024

VcRedist documentation for authentication to Intune updated here: https://vcredist.com/import-vcintuneapplication/. This includes what's needed to get an app registration to authentication to Intune.

@solarplex
Copy link

Im able to authenticate with Intune but the operation seems to fail at POSTing to graph.microsoft.com/Beta/deviceAppManagement/mobileApps

VERBOSE: POST https://graph.microsoft.com/Beta/deviceAppManagement/mobileApps
WARNING: An error occurred while creating the Win32 application. Error message: UnknownError: {"ErrorCode":"Forbidden","Message":"{\r\n "_version": 3,\r\n "Message": "An error has occurred - Operation ID
(for customer support): 00000000-0000-0000-0000-000000000000 - Activity ID: ************************** - Url:
https://fef.amsua0602.manage.microsoft.com/AppLifecycle_2405/StatelessAppMetadataFEService/deviceAppManagement/mobileAp ps?api-version=5024-03-08",\r\n "CustomApiErrorPhrase": "",\r\n "RetryAfter": null,\r\n "ErrorSourceService": "",\r\n "HttpHeaders": "{\"WWW-Authenticate\":\"Bearer realm=\\\"urn:intune:service,,********\\\"\"} "\r\n}","Target":null,"Details":null,"InnerError":null,"InstanceAnnotations":[]}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants