Snowflake Connector for Microsoft Power Platform: Create OAuth client in Microsoft Entra ID¶
To create an OAuth client in Microsoft Entra ID, follow these steps:
Navigate to the Microsoft Azure Portal and authenticate.
Navigate to Azure Active Directory.
Select App Registrations.
Select New Registration.
Enter a name for the client such as
Snowflake OAuth Client
.Verify the Supported account types are set to
Single Tenant
.Click Register.
In the Overview section, copy the
ClientID
from the Application (client) ID field.This will be known as the
<OAUTH_CLIENT_ID>
in the following steps.Select Certificates & secrets » New client secret.
Add a description of the secret.
For testing purposes, select
long-living secrets
.For Production environments, follow necessary security policies.
Select Add and copy the secret. This will be known as the
<OAUTH_CLIENT_SECRET>
in the following steps.For Delegated Auth or Service Principal Auth
For Delegated Auth:
Select Manage » API Permissions.
Select Add Permission.
Select My APIs.
Select the Snowflake OAuth Resource that was created in Snowflake Connector for Microsoft Power Platform: Configure the OAuth resource in Microsoft Entra ID.
Select the Delegated Permissions box.
Confirm the Permission related to the Scopes manually defined in the Application that are to be granted to this client.
Click Add Permissions.
Click Grant Admin Consent to grant the permissions to the client.
Note
This method should only be used for testing purposes. In production environments, granting permissions in this manner is not recommended.
Click Yes.
Click Manage » Authentication, add a platform » Web and enter Redirect URI’s
https://global.consent.azure-apim.net/redirect/snowflakev2
For Service Principal Auth:
Select Manage » API Permissions.
Select Add Permission.
Select My APIs.
Select the Snowflake OAuth Resource that was created in Snowflake Connector for Microsoft Power Platform: Configure the OAuth resource in Microsoft Entra ID
Select the Application Permissions box.
Confirm the Permission related to the Roles manually defined in the Manifest of the Application that are to be granted to this client.
Select Add Permissions.
Click Grant Admin Consent to grant the permissions to the client. Note that for testing purposes, permissions are configured this way. However, in a production environment, granting permissions in this manner is not advisable.
Click Yes.
Next steps¶
After completing these procedures, follow the steps in Snowflake Connector for Microsoft Power Platform: Collect Azure AD information for Snowflake.