Create Azure AD Non-gallery App using Powershell

kumar 41 Reputation points
2022-03-02T06:06:38.77+00:00

Hi Team,
Can you help us on how to automate creation on Non-gallery Application using powershell script.

What is powershell command to create
or is any REST API to create the same.

Also looking for some script that allows to configure provisioning in Non Gallery AD app

Thanks

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

1 answer

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 56,566 Reputation points
    2022-03-02T11:07:16.07+00:00

    Hi @kumar • Thank you for reaching out.

    I understood that you want to automate the creation of Non-gallery app and its user provisioning configuration using PowerShell or REST API.

    I would suggest you use REST API for this purpose, as it covers all aspects of application configuration. Although PowerShell also uses RESTCalls in the background there may not be all cmdlets available to cover all aspects from the automation perspective.

    You can use Graph API to automate the below steps, where you get the ID of the existing application that you will be using as a template for your Non-gallery app and create the Non-gallery application using the template. Please refer to Configure SAML-based single sign-on for your application using the Microsoft Graph API for the below steps:

    1. Create the application
    2. Configure single sign-on
    3. Configure claims mapping
    4. Configure a signing certificate
    5. Assign users
    6. Get Azure AD SAML metadata

    Once the above steps are done, you can use the Azure AD synchronization API to automate User Provisioning. You can:

    1. Create, start, and stop synchronization jobs
    2. Make changes to the synchronization schema for jobs
    3. Verify the current synchronization status

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

    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.