Hello Guys,

I hope you must have enjoyed our last article about How to create a communication site using PowerShell.

In this article, we will see how we can register our application in the Azure portal and grant him access so that we could use the app to access Graph API or Office 365 management API. We will cover up following things

  1. Register your app in the Azure portal.
  2. Configure permissions for Microsoft Graph on your app.

Please follow the below steps to register your app in the Azure portal

  1. Go to the app registration. You can use work or school Microsoft account to access this for free\
  2. Click on the New Registration then the following screen will pop up
Register application in Azure Portal
New app registration screen

3. Write your preferred application name and select the account type as a single tenant.
4. Then enter Redirect URI this could be any for example “https://appname.com/auth”
5. Then click on register.

Your app will be registered successfully in the Azure portal. Now you need to note down the Client ID, Tenant ID

Go to the overview section of your newly created app and note down the details highlighted below

Register application in Azure Portal
Registered App details

Now we will configure permissions for Microsoft Graph on your app.
There are two types of permission for the app
1. Delegated permissions are used by apps that have a signed-in user present. For these apps, either the user or an administrator consents to the permissions that the app requests and the app is delegated permission to act as the signed-in user when making calls to the target resource. Some delegated permissions can be consented to by non-administrative users, but some higher-privileged permissions require administrator consent.
2. Application permissions are used by apps that run without a signed-in user present; for example, apps that run as background services or daemons. Application permissions can only be consented by an administrator.

To configure application permissions for your app in the Azure app registrations portal: under an application’s API permissions page, choose to Add permission, select Microsoft Graph, and then choose the permissions your app requires under Application permissions.

Register application in Azure Portal
Assigning permissions to the app

The next steps will be to generate the client secret and granting admin consent to your app permissions which will be explained in upcoming posts.

34 thoughts on “Register application in Azure portal”
  1. herbamedicus

    […]very couple of internet sites that take place to be comprehensive below, from our point of view are undoubtedly nicely really worth checking out[…]

  2. Thc vape juice

    […]although web sites we backlink to beneath are considerably not connected to ours, we really feel they may be really really worth a go through, so have a look[…]

  3. OXYCODONE FOR SALE

    […]we like to honor several other world wide web web sites around the web, even when they aren’t linked to us, by linking to them. Under are some webpages really worth checking out[…]

Leave a Reply