Snowflake Connector for Microsoft Power Platform: [Optional] Validate Entra authorization setup¶
Snowflake recommends the configuration be tested and suggests using the cURL commands below to determine if Entra is correctly issuing a token.
Delegated auth validation¶
The prior steps must be executed to get the required authorization code value. To obtain the required code, follow the steps outlined in request an authorization code.
-
Get authorization code:
In a browser enter the following URL, replacing the placeholders with your values:
-
Get access token:
Use the authorization code from the previous step to get an access token. Replace the placeholders with your values in the following cURL command:
Note
You must add
localhostas an additional redirect URI in the AAD client application.
Service principal auth validation¶
Where:
CLIENT_ID= Client ID from Oauth Client setup.CLIENT_SECRET= Client secret from Oauth Client setup.TENANT_ID= Tenant ID from Oauth Client setup.
To validate the token in Snowflake, execute the SQL in the steps below with token from above :
- Navigate to Snowsight.
- Open a worksheet.
- Execute the following code:
Next steps¶
After completing these procedures, follow the steps in Snowflake Connector for Microsoft Power Platform: [Optional] Validate Snowflake access.