You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.
I'm running into an issue calling acquireTokenAsync. The generated token from the acquireTokenAsync call "appears" to be valid, but when I run a post to MSFT graph api using this generated token (post is happening in my express middleware), I get the error message below.
Note: I am using Microsoft Intune with broker authentication using Microsoft Authenticator.
# error : AADSTS5300 "your device is required to be managed to access this resource.
Anyone have any ideas why this is happening ?
Here is the configuration object I use in the post to the /oauth2/token endpoint.
Update: I noticed that the jwt token generated by acquireTokenAsync does not include deviceId if I manually unenroll and then enroll again. I'm wondering if that finding highlights a potential configuration issue with Intune or AD? The 'your device is required to managed' error is occurring in IOS and Android.
leewhitbeck
changed the title
Issue with acquireTokenAsync when userID is not included
Issue with acquireTokenAsync - access token missing deviceid
Aug 2, 2018
Issue Description
I'm running into an issue calling acquireTokenAsync. The generated token from the acquireTokenAsync call "appears" to be valid, but when I run a post to MSFT graph api using this generated token (post is happening in my express middleware), I get the error message below.
Note: I am using Microsoft Intune with broker authentication using Microsoft Authenticator.
# error : AADSTS5300 "your device is required to be managed to access this resource.
Anyone have any ideas why this is happening ?
Here is the configuration object I use in the post to the /oauth2/token endpoint.
Here is my environment configuration cli packages: (/usr/local/lib/node_modules)
Issue Environment
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : 8.0.0
local packages:
@ionic/app-scripts : 3.1.9
Cordova Platforms : android 7.1.0 ios 4.5.4
Ionic Framework : ionic-angular 3.9.2
System:
Android SDK Tools : 26.1.1
ios-deploy : 1.9.2
Node : v8.11.1
npm : 5.6.0
OS : macOS High Sierra
Xcode : Xcode 9.3 Build version 9E145
The text was updated successfully, but these errors were encountered: