Hi @Ajay Rana
Thanks for the question and using MS Q&A platform.
Based on the error message you provided, it seems like the Azure DevOps deployment task is trying to delete an artifact (managed private endpoint) that is required for the Synapse pipeline to copy data to Cosmos DB. This is causing a 403 Forbidden error.
To resolve this issue, you can try the following steps:
- Check the permissions for the Azure DevOps service principal or user account that is being used to deploy the Synapse workspace. Make sure that it has the necessary permissions to manage the managed private endpoints in both subscriptions.
- Check the managed private endpoints in both subscriptions to make sure that they are configured correctly and have the necessary permissions to access the resources they need. Make sure that the private endpoints are configured to allow traffic between the Synapse workspace and Cosmos DB.
- If none of the above steps resolve the issue, you can try deploying the Synapse workspace and Cosmos DB in the same subscription. This can simplify the configuration and management of the managed private endpoints and reduce the risk of errors during deployment.
- Check if the user has set up the managed endpoints correctly. Ensure that the user has set up the managed endpoints correctly in both the Dev and QA environments.
I hope this helps! Let me know if you have any further questions.