Hi WZIAFP ,
Thankyou for using Microsoft Q&A platform and thanks for posting your question here.
As I understand your question , you are trying to Synapse notebook via ADF pipeline. However, you are facing error while doing that. Please let me know if that's not the case.
Since you mentioned that the Service principal already has 'Synapse contributor role' , I feel the permission for service principal which is required to retrieve the secret from key vault might be missing.
It is likely that the service principal associated with your Azure Data Factory (ADF) doesn't have the necessary permissions to access the secrets in your key vault. To resolve this issue, you will need to grant the ADF service principal access to the secrets in the key vault.
Here's how you can grant access:
- Navigate to the key vault in the Azure portal.
- Click on "Access policies" in the left-side menu.
- Click on the "Add Access Policy" button.
- Select the "Key Management" operation, and "Get" action.
- In the "Select principal" section, select the ADF service principal.
- Click on the "Add" button to add the policy, and then click on the "Save" button to save the changes to the key vault.
Please let us know if it helps. If giving the above-mentioned permission doesn't resolve the issue, then kindly revert back, I will check internally what's causing the issue. Thankyou