Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

Azure Key Vault Connection - Get Secret action

(1) ShareShare
ReportReport
Posted on by 8,531

Hello,

 

I want to get value of Secret from Azure Key Vault, but when i add Get Secret action to the Flow, the Flow is not able to connect to Azure Key Vault, i am getting invalid connection error, as shown in below screenshots. The goal of using Azure Key Vault is to get the client secret stored in vault, that client secret will be used in Graph API action in the Flow as we dont want store the client secret directly in the variable and we would want to store it in Azure Key Vault for security reasons.

 

 

  1. Could not retrieve values. Key 'vaultName' not found in connection Profile. When i add the action i see a textbox to enter vault name but then Flow automatically tries to connection with the account and shows this message \Annotation 2020-04-30 215735.png
  2. Flow shows invalid connection error, even though the account connected to the Action has access to Azure Key Vault and account is added under Access Policies in Azure Key VaultAnnotation 2020-04-30 215747.png
  3. When i go to Data -> Connections, the status column of the Azure Key Vault connection, the Status is "Parameter Value Missing"Annotation 2020-04-30 215752.png

Thanks in advance for any help if someone provide to solve this issue, to be able to connect to Azure Key Vault successfully from Power Automate (Flow).

 

Thanks,

Anna Jhaveri 

  • Re: Azure Key Vault Connection - Get Secret action

    I went to power automate -> data -> connections -> created a connection to azure key vault -> authenticated it -> status says connected, yet I am still having "Invalid connection" in Get Secret. Anything else I could try?

  • petestanley Profile Picture
    petestanley 6 on at
    Re: Azure Key Vault Connection - Get Secret action

    Thanks @Rahber , @kelway your comments really helped!

  • Re: Azure Key Vault Connection - Get Secret action

    Just to add - that the Connections page is under the "Data" menu of Power Automate.

  • Rahber Profile Picture
    Rahber 1,935 on at
    Re: Azure Key Vault Connection - Get Secret action

    Hello, This would normally happen when the you have inserted the azure key vault action for the first time and it tries to create a connection with same ID you are creating the flow.

     

    In the process it bypasses the step where it needs you to enter the Key Vault Name. So the simple solution is go to connections page. Click edit on the connection for Azure Key Vault. Enter your vault name, fix the sign in issue i.e. authenticate again. Go back to the flow and click on the connection again and your problem will be solved.

     

    Thanks,

    Rahber

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,636

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,942

Leaderboard

Featured topics