promptflow
promptflow copied to clipboard
[BUG] Connections broken in flows and connections dialogs
Describe the bug Trying to show Connections in Prompt Flow via old Connections menu... gives Failed to get secret for connection 'Default_AzureOpenAI'. Service invocation failed! Request: POST management.azure.com/subscriptions/xxxxxxxx/resourceGroups/BIDSMachineLearning-dev-rg/providers/Microsoft.CognitiveServices/accounts/meuw-xxx-xxxx/listKeys Status Code: 403 Forbidden Reason Phrase: Forbidden Response Body: S2S invocation to arm failed when calling: https://management.azure.com/subscriptions/xxxxxxxx/resourceGroups/BIDSMachineLearning-dev-rg/providers/Microsoft.CognitiveServices/accounts/meuw-xxxxxxxx/listKeys?api-version=2023-10-01-preview
Separate "new preview" Connections Workspace dialog lists connections, but Prompt Flows can not see connections.
Separate PromptFlow run in SDK has similar issue.
Prompt Flow in AI Studio appears to work.
Did the API Version change, and prompt flows themselves need to be updated somehow? https://management.azure.com/subscriptions/xxxxxxxx/resourceGroups/BIDSMachineLearning-dev-rg/providers/Microsoft.CognitiveServices/accounts/meuw-xxxxxxxx/listKeys?api-version=2023-10-01-preview
How To Reproduce the bug Steps to reproduce the behavior, how frequent can you experience the bug:
- open ML Workspace
- open prompt flow
- click connections
- wait and error occurs.
- then
- open new preview Connection Window.. displays connections
- open prompt flow
- no connections can be setup, since can't see connections.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Running Information(please complete the following information):
- running in current Prompt Flow portal in ML Workspace
Additional context Add any other context about the problem here.