Registering an Azure App
A connection string is needed for the storage account you wish to scan.
Steps
- Login to Azure Portal.
-
If there are multiple tenants to choose from, use the Settings icon in the top menu to switch to the tenant in which needs to be registered to the
application from the Directories + subscriptions menu.
-
Browse to App Registration and select New registration.
-
On the App Registration page enter the below information and click the Register button.
- Name: (Enter a meaningful application name that will be displayed to users of the app.)
- Supported account types:
- Select which accounts that the application will support. The options should be similar to the below screenshot.
- Accounts in this organizational directory only can be selected.
- Leave the Redirect URI as empty and click Register.
-
Note the Application (client) ID, Directory (tenant) ID values.
-
Navigate to Manage > Certificates & secrets on the left menu, to create a new client secret.
- Provide a meaningful description and expiry to the secret and click on Add.
-
Once a client secret is created, note its Value and store it somewhere safe.
Note: This value cannot be viewed once this page is closed.
-
Navigate to Manage > API permissions on the left menu and Add a permission.
-
Select Microsoft APIs > Microsoft Graph.
-
Select Application permissions.
-
Permissions required
- Microsoft Graph > Application permissions > Device > Device.Read.All
- Microsoft Graph > Application permissions > Directory > Directory.Read.All
- Microsoft Graph > Application permissions > Group > Group.Read.All
- Microsoft Graph > Application permissions > User > User.Read.All
-
Once all the required permissions are added, click Grant admin consent.