Not able to access the secrets in keyvault??

Rufaid P 0 Reputation points
2024-02-26T06:13:32.1366667+00:00

i have been trying to migrate a database from my enterprise edition of microsoft SQL server.i have used express setup for the integration runtime setup.But when i try to access the password from the key vault iam getting error as attached.can someone help me ???iam entirely new to azure and doing some demo projects for better understanding.Any help is appreciated.

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,259 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 36,596 Reputation points Microsoft Employee
    2024-02-26T19:41:07.95+00:00

    @Rufaid P

    Thank you for your post and for sharing a screenshot of your error message!

    Error:

    Operation returned an invalid status code 'Forbidden'.

    Based off your error message, there are two reasons you could be running into the Forbidden message, and to help point you in the right direction or resolve your issue, I'll share the solutions below.

    Common error codes for Azure Key Vault:

    From the Azure Key Vault side of things, you could be running into a firewall or insufficient permissions related issue.

    Azure Key Vault Firewall:

    If your Key Vault has its Firewall enabled, please make sure that you've configured it correctly to allow Trusted Services Only (as needed), and that you've added the appropriate IP addresses or Private Link configurations.

    Key Vault Access Policy:

    If your issue isn't related to your vault's firewall, please make sure that your vault's access policies or RBAC role assignments are correctly set up for the actual calling identity.

    For example, if you're using a system assigned managed identity through your Azure Data Factory, please make sure that the object ID of that managed identity has the correct key vault permissions to GET your Keys or Secrets. For more info - Data Factory Store credentials in Azure Key Vault.

    For more info - Troubleshooting Azure Key Vault access policy issues

    Additional Links:

    I hope this helps!

    If you have any other questions, please let me know. Thank you for your time and patience throughout this issue.


    If the information helped address your question, please Accept the answer. This will help us and also improve searchability for others in the community who might be researching similar information.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.