promptflow icon indicating copy to clipboard operation
promptflow copied to clipboard

[BUG] Connections broken in flows and connections dialogs

Open fausttiger007 opened this issue 5 months ago • 3 comments

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:

  1. open ML Workspace
  2. open prompt flow
  3. click connections
  4. wait and error occurs.
  5. then
  6. open new preview Connection Window.. displays connections
  7. open prompt flow
  8. 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.

image

image

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.

fausttiger007 avatar Sep 26 '24 13:09 fausttiger007