Enforce a 3rd party app on login

Magnus 0 Reputation points
2023-12-18T16:29:08.6033333+00:00

I want to enforce my users to use a 3rd party app as part of their login process.

Currently, it is "available" as an app on users dashboard, but I am unable to enforce users to run it. Is there any way I can force my users to run this app when they login to their Office 365 (or other Azure connected services) This app does not need to be authenticated to, so the MFA (or OAuth integration) requests etc that is part of the normal conditional access policy build does not work. (I don't care if other external user also can access this app)
I have been trying to add it through custom control, but can't get it going. Partner Device management seem to be a long shot as it is not listed as one of the 12 available ones (and they are mostly for Mac, iOS, Android - not Windows)
Intune could be used but NOT for enforcing this app as users/devices are not enrolled in Intune MDM solution.
Could I use a custom claim provider functionality?

Potential flow:
#1. User reach MS gina for Entra ID login (Office 365 or other applications connected to Entra ID)
#2. Once user is authenticated, he is redirected to 3rd party URL where the app can be downloaded. User ID (but no other info) is forwarded to 3rd party.

#3. App needs to be downloaded and run on local device

#4. Once installation is verified by 3rd party, user is granted access to Entra resources.

Alternative (less attractive) flow:
#1. User reach MS gina for Entra ID login (Office 365 or other applications connected to Entra ID)
#2. Once user is authenticated, the device is checked if 3rd party app is present on device.

#3. If not - message which direct user to 3rd party URL where app needs to be downloaded.

#4. If app is present - access is granted

Any ideas on how to achieve this would be most appreciated.
Thanks

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,243 questions
Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
344 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,919 questions
Microsoft Entra
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Andy David - MVP 149.1K Reputation points MVP
    2023-12-18T16:46:25.1533333+00:00

    My first "from the hip first thought" is assigning an access package in Entra assuming there is an app in Azure representing the 3rd party app.:

    https://learn.microsoft.com/en-us/entra/id-governance/entitlement-management-access-package-create

    0 comments No comments

  2. ZhoumingDuan-MSFT 13,710 Reputation points Microsoft Vendor
    2023-12-19T03:05:15.3466667+00:00

    @Magnus,Thanks for posting in Q&A.

    From your description, I know that you want to force users to run a third part app when they login to their Office 365.

    Based on my research, there are not built-in features in Intune can achieve this, it may need a script to do this.

    Thanks for your kind understanding.

    If the answer is helpful, 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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.