-
-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set (Cloud) credentials during dataset deployment #195
Comments
- #195 Set (Cloud) credentials during dataset deployment - OAuth2 - #195 Case-insensitive matching of data sources - Manifest Schema Changes - manifest.credentials[].updateMode: { NotSpecified, Always, Never, BeforeRefresh } - manifest.credentials[].type: { Basic, Anonymous, OAuth2 } - manifest.credentials[].authority - manifest.credentials[].validateAuthority - manifest.credentials[].tenantId - manifest.credentials[].clientId - manifest.credentials[].clientSecret - manifest.credentials[].scopes - manifest.credentials[].useDeploymentToken
Hi, can i get a sample .pbixproj.json to set dataset credentials for Snowflake using "OAuth2". I have used below one for our devOPS, but is not working. After each deployment, dataset refresh is not being scheduled; it's throwing credential error. Thanks in advance. ============
============ |
and this is the error from PBI workspace after deploying Data source error: Scheduled refresh is disabled because at least one data source is missing credentials. To start the refresh again, go to this dataset's settings page and enter credentials for all data sources. Then reactivate scheduled refresh. |
Hi @dfg2023, the
The first limitation can be addressed in a future release of Regards, |
@dfg2023 Unless you have integrated your Snowflake instance with Azure AD, and client credentials are accepted? |
Hi mthierba, here is deployment logs; it's working fine upto deployment, then failing while initiating for refresh! hope it helps. Thanks again. 2023-04-26T05:27:08.6770183Z Starting dataset refresh (Full) ... |
Understood. Alongside |
Thank you; still it's not working after adding "tenantId", "clientId", "clientSecret", and "scopes"... Pasting - 1) the latest deployment logs and 2) .pbixproj.json
|
Are you sure "Organizational" is a valid scope for the Snowflake integration? All of the examples given here: https://docs.snowflake.com/en/user-guide/oauth-azure seem to use a |
will get back to you in couple of days. seems some issues at sf integration. thank you.. |
For reference, updated release notes with two specific examples how OAuth2 credentials are specified in the deployment manifest: https://github.com/pbi-tools/pbi-tools/releases/tag/1.0.0-rc.3 |
I don't see Service Principal as a credential option in the manifest. Is it due to a limitation or lack of documentation in the PowerBI REST API? If not then I would not mind contributing to the code to make it happen. I see the manifest only supports the current options currently: |
Credential Types
Reference
The text was updated successfully, but these errors were encountered: