LogoLogo
HomepageResellerPricingSign in
  • AppMachine
  • ๐Ÿ“ƒProduct Updates
  • ๐Ÿ‘ทBuild your app
    • Preview your app
    • App templates
    • App Settings
    • Update payment method
    • Cancel subscription
  • โ”General App Building FAQ
  • How to
  • ๐ŸงฑBlocks
    • ๐Ÿ” Admin
    • ๐Ÿ“„Blank Page
    • ๐Ÿ“žCall
    • ๐ŸขContact
    • ๐Ÿ“Contact Us
    • ๐ŸงพCoupons
    • ๐Ÿ“ƒCustom Form
    • ๐Ÿ“งEmail
    • ๐Ÿ—“๏ธEvents
    • โ”FAQ
    • ๐ŸŒFacebook
    • ๐Ÿ•‘Hours
    • โ„น๏ธInformation
    • ๐Ÿ“ฃIntro
    • โ˜•JavaScript
    • ๐Ÿ”’Lock
    • ๐ŸŽงMusic
    • ๐Ÿ“ฐNews
    • ๐Ÿ“ƒPDF
    • ๐Ÿ—บ๏ธPOI
    • ๐Ÿ‘ฅPeople
    • ๐Ÿ“ทPhotos
    • ๐ŸฌProducts
    • ๐Ÿ“ฉPush Messages
    • ๐Ÿ“ปRadio
    • โ†ช๏ธSubmenu
    • ๐ŸฆTwitter
    • ๐Ÿ‘จโ€๐Ÿ’ปURLs
    • ๐Ÿ–ฅ๏ธWeb Page
    • ๐Ÿ“บVideo
    • ๐Ÿ“ฑWhatsApp
  • ๐Ÿ“ƒData
    • Appmachine Data
    • Delete (test) data from Custom Form
    • Google Sheets
    • Web services
  • ๐Ÿ–Œ๏ธStyle your app
    • Theme
    • Home Screen
    • FAQ Style
  • ๐ŸŽจStyle your screens
    • Elements
  • Share your app
    • โœˆ๏ธPublishing your app
      • Technical Setup Quick Start Guide
      • Update your app
      • Unpublish an app from the app stores
    • ๐ŸŒWeb App Publishing
      • Hosting on custom domain
    • ๐ŸApple App Store
      • iOS developer account
      • App Store Connect API keys
      • Link your app
      • New app record in App Store Connect
      • App privacy details
      • Edit Store information
      • Fix App publish issues
      • Push certificates
      • App Store Connect app status overview
      • App Store Review Guidelines
      • Publish app Unlisted
      • Accept updated License agreement
      • Apple App Store FAQ
      • iPad
      • Enterprise
        • Setup your Enterprise app
        • Create iOS Distribution Certificate
        • Create App ID
        • Create Mobile Provisioning Profile
        • Downloading and installing an Enterprise app
    • ๐ŸGoogle Play
      • Create a Google Developer Account
      • Setup your Android app
      • How to request a Google Maps API Key
      • Test your Android app before publishing to Google Play
      • Upload your Android app to Google Play Store for the first time
      • Update Android app (short)
      • Update an Android app (extended)
      • Data safety details on the Google Play Store
      • Sell your app in Google Play Store
      • Create Google merchant account
      • Force Store Update for your Android App
      • Authorise an additional user to your Google Play developer account
      • What if my app is suspended by Google?
  • App details
    • ๐Ÿ•ต๏ธGoogle Analytics
      • Google Analytics setup overview
      • Setup iOS analytics
      • Setup Android analytics
      • Inviting a new Google Analytics user
    • ๐Ÿ”ฅFirebase
      • Create Firebase project
      • Locate Firebase Server key
      • Renew Firebase Server Key
      • Register iOS app
      • Register Android app
      • Enable Cloud Messaging
      • Enable Google Analytics
      • Google Analytics via Firebase
    • ๐Ÿ“จPush notifications
      • Setup Apple Push certificate
    • ๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘User management
      • Create Apple Sign In key
      • Setup Azure Active Directory
      • Create Facebook App ID Secret
    • ๐ŸฆTwitter API keys
    • ๐Ÿ”Privacy policy
    • ๐Ÿ‘ฉโ€๐Ÿ”งYour Account
      • Account Settings
      • Account FAQ
      • Payment FAQ
    • ๐Ÿ“ฑAdmin CMS
  • Developers
    • ๐Ÿ‘ฉโ€๐Ÿ’ปJavaScript
      • Develop locally
      • SDK
        • Core
        • JS Data
        • Media
        • Navigation
        • Notification
        • User
      • CLI
        • CLI Token and Secret
        • Errors
          • CONFIG_PROPERTIES_INVALID
          • CONFIG_VALUES_INVALID
          • ENTRY_FILE_NOT_FOUND
          • OUTPUT_DIRECTORY_IS_EMPTY
          • OUTPUT_DIRECTORY_NOT_FOUND
          • TOKEN_SECRET_NOT_PROVIDED
          • TOKEN_SECRET_NOT_VALID
      • Migrate from old Custom JS
    • ๐Ÿ’ปWeb services
Powered by GitBook
On this page
  • Registering an application within the Azure Portal
  • Obtaining the Client ID and Tenant ID
  • Creating a Client Secret within the Azure app
  • Enabling Azure Active Directory authentication in AppMachine

Was this helpful?

  1. App details
  2. User management

Setup Azure Active Directory

This article explains how to setup user authentication via Azure Active Directory for your AppMachine app.

PreviousCreate Apple Sign In keyNextCreate Facebook App ID Secret

Last updated 2 years ago

Was this helpful?

In this article you'll read how to setup user authentication via Azure Active Directory. Configuring this correctly consists of the following steps:

Registering an application within the Azure Portal

  1. Navigate to the and login.

  2. Click +New registration to create a new app.

  3. Enter the name of your app.

  4. Select the Single tenant option as the supported account type.

  5. Set the Redirect URI to type Web and enter the following value: https://app-services.cmsappbuilder.com/api/application-users/v1/social/callback/microsoft

  6. Click Register to create the Azure application.

Obtaining the Client ID and Tenant ID

  1. Open the Overview page of your Azure application.

  2. Copy the Application (client) ID and the Directory (tenant) ID. These values will be required during the setup in AppMachine.

Creating a Client Secret within the Azure app

  1. Open the Certificates & secrets page.

  2. Click +New client secret.

  3. Enter a description and set the client secret's expiration time. Note: AppMachine is not able to track the client secret expiration date. When the client secret expires users will no longer be able to login to the app. To prevent this from happening, the client secret will have to be renewed and updated in AppMachine before the secret expires.

  4. Click the Add button to create the client secret.

  5. Copy the value of the client secret displayed on the screen. This value will be required during the setup in AppMachine. Note: The Client Secret value can only be viewed once, directly after creating it.

Enabling Azure Active Directory authentication in AppMachine

  1. Enable the options Azure Active Directory and Users can register a new account for this app.

  2. Click Configure and enter the Client ID, Tenant ID, and Client Secret obtained via the steps above, and click Save to complete the setup.

  3. Finally, Save your changes on the Login Settings page to complete the setup.

Open the page of your AppMachine app and enable User login.

๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘
Login Settings
registered apps page of the Azure Portal
Registering an application within the Azure Portal.
Obtaining the Client ID and Tenant ID.
Creating a Client Secret within the Azure app.
Enabling Azure Active Directory authentication in AppMachine.
Azure Portal - App registrations
Azure Portal - Register application
Azure Portal - App overview
Azure Portal - Certificates & secrets
Azure Portal - Add a client secret
AppMachine - Login Settings
AppMachine - Configure Azure Active Directory