Oct 07 2020 04:55 AM - edited Oct 07 2020 06:01 AM
While trying to publish to Intune, I am getting an following error message:
ERROR: IntunePlugin.AsyncExecutor.RunSync - Status Code: Unauthorized Microsoft.Graph.ServiceException: Code: UnknownError Message: {"ErrorCode":"Forbidden","Message":"{\r\n \"_version\": 3,\r\n \"Message\": \"An error has occurred - Operation ID (for customer support):".
I have given the following permissions for the application.
Please help me in resolving this issue.
Thanks.
Oct 07 2020 09:59 AM
Nov 14 2020 11:43 AM
Hey @Shashikiran1985,
the Intune App write permission write is a Delegated permission so you need to have a service account (an user) this user needs to have a valid Intune license assigned, otherwise he can't use Graph endpoints for Intune. Did you check if the service user has a license for Intune correctly assigned?
best,
Oliver
Nov 15 2020 06:21 AM
@Shashikiran1985 Status Code: Unauthorized--> Refers to the permission related issue.
How are you publishing the app? using script or manual method?
Regards,
Eswar