BI for Intune Installation Guide
Azure AD Application Registration Using Azure Cloud Shell
User performing these steps requires global admin rights
Use the following link to Launch Cloud Shell.
Login with a Global Admin account.
Select PowerShell when prompted
If prompted to do so, create a cloud storage account. The storage account is only used during the creation of the App Registration.
Return to the PowerShell prompt in Cloud Shell
Enter the following script to create an Azure AD App Registration.
The sample code will create an App with the name, "bi_for_intune" however, to change the app name, you can edit the script before running it.
The same code sets the password validity period for 5 years. You may customize this to your liking. Please see the following Microsoft documentation: https://docs.microsoft.com/en-us/cli/azure/ad/app/credential?view=azure-cli-latest#az-ad-app-credential-reset
Attention: Depending of your browser, copy and paste the code below can add extra line. Make sure there are no empty lines before running this code.
Upon successful completion the script will return an App ID, name, password, and tenant ID. It is VERY important that you record this information. The password cannot be retrieved once you've closed out of Cloud Shell.
Record the values as follows:
appId: Referred to as the 'ClientID' later in this documentation.
password: Referred to as 'Secret Key' later in this documentation.
tenant: Referred to as 'Azure Tenant ID' later in this documentation.
Re-running the script will generate a new password as well as extend the credential validity period. Ensure that you make note of the password each time that the script is run.