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 (https://portal.azure.com/) and authenticate.
导航至 Azure AD。
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.点击 Register。
In the Overview section, copy the
ClientIDfrom the Application (client) ID field.This will be known as the
<OAUTH_CLIENT_ID>in the following steps.Select Certificates & secrets » New client 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.
点击 Add Permissions。
Click Grant Admin Consent to grant the permissions to the client.
备注
This method should only be used for testing purposes. In production environments, granting permissions in this manner is not recommended.
点击 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.
选择 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.
点击 Yes。
后续步骤¶
After completing these procedures, follow the steps in Snowflake Connector for Microsoft Power Platform: Collect Azure AD information for Snowflake.