Application Conditional access without adding my application to the galley app

lior zivi 1 Reputation point
2020-10-12T16:21:36.647+00:00

I created my own multi tenant application in Azure Active Directory.
I also create a web application where users from different tenants can sign in to my web application. (the web application sign in flow is using the applicationId of the application I created in Azure Active Directory).

One of the requests from one of my clients was to configure a conditional access that his users will only be able to sign in to my application from a specific range of ips.

However, since my application is not registered in the application gallery, is it possible for him to set a specific conditional access rule for his tenant targeting my application?

It works if the conditional access rule is set to "all cloud apps" but I want him to have a rule only specifically to my app

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,706 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 56,601 Reputation points
    2020-10-12T16:47:23.043+00:00

    Hello @lior zivi · Welcome to QnA platform and thanks for your query.

    Any Azure AD Registered application can be added to Conditional access, it is not required to be gallery application. You should be able to search the application by using application name or application id, under cloud applications blade of conditional access policy.

    However, if you are unable to search the application in CA Policy, make sure WindowsAzureActiveDirectoryIntegratedApp tag is added to the application. You can use below PowerShell Cmdlet to add this tag:

    Set-AzureADServicePrincipal -AccountEnabled $true -AppId your_app_id -AppRoleAssignmentRequired $true -DisplayName your_app_name -Tags {WindowsAzureActiveDirectoryIntegratedApp}

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


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.