Intune is restricting few users while signing into Microsoft using oauth from a third party app

Ramya Reddy 6 Reputation points
2023-05-24T16:56:19.04+00:00

357e2b8e-3408-4fe2-a12d-43bb48994752

image002

We have used Microsoft OAuth to enable Microsoft login in our mobile application developed using react-native. The package used for OAuth is https://www.npmjs.com/package/react-native-app-auth.

But a few Microsoft users are being blocked with the above alerts from Intune. Other users are able to log in without any problem.

Thanks in advance for any help.

Microsoft Intune iOS
Microsoft Intune iOS
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.iOS: An Apple mobile operating system.
186 questions
Microsoft Intune Android
Microsoft Intune Android
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Android: An open-source mobile platform based on the Linux kernel, developed by Google, and maintained by the Open Handset Alliance.
235 questions
Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,717 questions
Microsoft Intune Application management
Microsoft Intune Application management
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Application management: The process of creating, configuring, managing, and monitoring applications.
874 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,327 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Lu Dai-MSFT 28,346 Reputation points
    2023-05-25T01:58:07.4066667+00:00

    @Ramya Reddy Thanks for posting in our Q&A.

    For this issue, it seems that there is a conditional access policy to block the access. To clarify this issue, we appreciate your help to collect some information:

    1.Please check if there is a conditional access policy deployed to your user. If yes, please check if the setting "Require app protection policy" is select under "Grant" in this policy.

    2.Based on my research, app protection policies' supported apps are listed in the following article:

    https://learn.microsoft.com/en-us/mem/intune/apps/apps-supported-intune-apps

    Your app is not listed in this list.

    If there is anything update, feel free to let us know.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Julian 0 Reputation points
    2023-11-29T10:36:16.45+00:00

    Hi, did you get it to work? I have a similar issue right now.

    0 comments No comments