Skip to content

Azure Settings

Manabu Tonosaki edited this page Sep 17, 2022 · 13 revisions

Active Directory

to prepare login system of Jitwin, follow the below steps.

  1. Create a new application to AzureAD
  2. Assign users to Jitwin's AAD
  3. Set permission for GraphAPI
  4. Grant admin consent
  5. Make a client secret

1.Create a new appilcation to AzureAD

  • Open Azure Portal with your Jitwin subscription.
  • Open Azure Active Directory (AAD)
    IMG000751-20220917-204057-TOMARIKA - Microsoft Azure
  • New Registory
    IMG000753-20220917-204226-tomarika - Microsoft Azure IMG000755-20220917-204638-Register an application - Microsoft Azure
  • Add Endpoint URI and confirm the other settings.
    IMG000757-20220917-205114-Jitwin - Microsoft Azure IMG000759-20220917-205230-Jitwin - Microsoft Azure

2.Assign users to Jitwin's AAD

  • Open the Jitwin applicaiton
    IMG000761-20220917-205733-tomarika - Microsoft Azure IMG000763-20220917-210216-Enterprise applications - Microsoft Azure
  • Add users or groups of login target
    IMG000765-20220917-210418-Jitwin - Microsoft Azure

3. Set permission for GraphAPI

  • Open Jitwin application using [AAD]-->[App registrations]-->[Jitwin]
  • Add permissions IMG000767-20220917-214620-Jitwin - Microsoft Azure IMG000769-20220917-214730-Request API permissions - Microsoft Azure IMG000771-20220917-214816-Request API permissions - Microsoft Azure
  • Add two permissions User.ReadBasic.All and offline_access
  • Then confirm them in the below screen.
    IMG000773-20220917-215020-Jitwin - Microsoft Azure

4. Grant admin consent

Depending on your AAD policy, you may need to grant admin consent to permissions.
IMG000775-20220917-215517-Jitwin - Microsoft Azure    ↓ ↓ ↓ 
IMG000777-20220917-215706-Jitwin - Microsoft Azure

5. Make a client secret

  • Open Jitwin application using [AAD]-->[App registrations]-->[Jitwin]
  • and make a new client secret.
    IMG000779-20220917-220039-Jitwin - Microsoft Azure
  • Then, copy the client secret.
    IMG000781-20220917-220206-Jitwin - Microsoft Azure
  • You will also need to copy your Tenant ID and Client ID.
    IMG000783-20220917-220518-Jitwin - Microsoft Azure