Application configuration in Azure Portal for the Power BI OAuth2 account
The Snaps in the Microsoft Power BI Snap Pack require a Power BI OAuth2 account to access Azure resources. To authorize the OAuth2 account successfully, create and configure an application corresponding to the account, as shown in the following workflow.

Error 401
The token is invalid.
Provide a valid token and reauthorize the account.
The redirect URI specified does not match the reply URI configured for the application.
You specified an incorrect redirect URI.
Add the following redirect_uri:
https://elastic.snaplogic.com/api/1/rest/admin/oauth2callback/PowerBI
URL error when invoking the operation
The tenant domain name is incorrect.
Ensure that the Directory (tenant) ID that you noted from the application is in the correct format. For example, 2060aafa-89d9-423d-9514-eac46338ec05.
Frequently Asked Questions
Can we use an existing registered application to add an account to the Snap?
Yes. You can register a new application or use an existing application in the Azure Portal to create an OAuth2 account. See step 1, Create an application in the Azure Portal. For more information, see Register a client application in Microsoft Entra ID.
Where can I find examples of the Application ID, Tenant ID, and Secret key values?
Step 3, Locate the application credentials in the Azure Portal, shows where to find the application ID, client ID, and secret key values. For more information, see Power BI OAuth2 Account.
Where do I find more support for account-related information and other issues?
Contact the SnapLogic support team. The help icon in the Snap provides reference information for the selected Snap.
What type of permission does the registered application need?
The Scopes and permissions required table lists the delegated and application permissions that Azure Active Directory requires. For any other permissions that your application needs, see Microsoft Graph permissions reference.
How many accounts does the Microsoft Power BI Snap Pack have?
The Microsoft Power BI Snap Pack has one account type. Use the Power BI OAuth2 account to connect Power BI Snaps with data sources. For more information, see Power BI OAuth2 Account.








