Skip to content

Commit 4723893

Browse files
Merge pull request #276282 from cloga/lochen/credential-less-new
credential-less
2 parents f958387 + cc56b9d commit 4723893

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

articles/machine-learning/prompt-flow/troubleshoot-guidance.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ To resolve the issue, you have two options:
4444
| Vector Index Lookup | promptflow_vectordb.tool.vector_index_lookup.VectorIndexLookup.search |
4545
| Vector DB Lookup | promptflow_vectordb.tool.vector_db_lookup.VectorDBLookup.search |
4646
| Content Safety (Text) | content_safety_text.tools.content_safety_text_tool.analyze_text |
47+
4748
- Save the *flow.dag.yaml* file.
4849

4950
- **Option 2**
@@ -265,3 +266,18 @@ After you deploy the endpoint and want to test it in the **Test tab** in the end
265266
### Access denied to list workspace secret
266267

267268
If you encounter an error like "Access denied to list workspace secret", check whether you have granted the correct permission to the endpoint identity. Learn more about [how to grant permission to the endpoint identity](how-to-deploy-for-real-time-inference.md#grant-permissions-to-the-endpoint).
269+
270+
## Authentication and identity related issues
271+
272+
### How do I use credential-less data store in prompt flow?
273+
274+
You can follow [Identity-based data authentication](../how-to-administrate-data-authentication.md#identity-based-data-authentication) this part to make your data store credential-less.
275+
276+
To use credential-less data store in prompt flow, you need to grand enough permissions to user identity or managed identity to access the data store.
277+
- If you're using user identity this default option in prompt flow, you need to make sure the user identity has following role on the storage account:
278+
- `Storage Blob Data Contributor` on the storage account, at least need read/write (better have delete) permission.
279+
- `Storage File Data Privileged Contributor` on the storage account, at least need read/write (better have delete) permission
280+
- If you're using user assigned managed identity, you need to make sure the managed identity has following role on the storage account:
281+
- `Storage Blob Data Contributor` on the storage account, at least need read/write (better have delete) permission.
282+
- `Storage File Data Privileged Contributor` on the storage account, at least need read/write (better have delete) permission
283+
- Meanwhile, you need to assign user identity `Storage Blob Data Read` role to storage account, if your want use prompt flow to authoring and test flow.

0 commit comments

Comments
 (0)