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

device id is not passed to Azure AD with MS Intune (error we are getting error Set Up your device to get access) #80

Open
nagendra-devireddy opened this issue Jun 17, 2021 · 5 comments

Comments

@nagendra-devireddy
Copy link

nagendra-devireddy commented Jun 17, 2021

Hi All,

I'm having some issues trying to authenticate my users via the Microsoft Intune app. The problem is that even though the users have complaint device on the Intune app, every time that they try to sign in they are still prompt to install the Intune app as if the app was completely unable to communicate with Intune and verify that the user actually has all the permissions required to go through.

We have verified back end azure logs, device id is missing in the request & it is hitting the conditional access policy and making the sign-in/device un-trusted device.

Please find configurations as below
{
authorities: [
{
type: 'AAD',
audience: 'AzureADMyOrg',
authorityUrl: 'https://login.microsoftonline.com/TENENT_ID',
default: true
}
],
scopes: ['CLIENT_ID/.default'],
authorizationUserAgent: 'WEBVIEW'
}

image

Thanks in Advance !!

@trpraveenreddy
Copy link

Hi @nagendra-devireddy Did you find any solution for this? We are running into similar issue? Thank you

@nagendra-devireddy
Copy link
Author

Nope. we are planning to use https://ionic.io/products/auth-connect

@muditpant-ally
Copy link

Hi @nagendra-devireddy did using https://ionic.io/products/auth-connect solved your issue ?

@jeffortdev
Copy link

I think you need to use brokered authentication for the plugin to pass the deviceID.

@bradical1379
Copy link

Try setting your authorityUrl to '' since you are using AAD.

https://github.com/wrobins/cordova-plugin-msal#authorityurl

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

No branches or pull requests

5 participants