It seems like you are facing an issue with Azure Media Services SDK. The error message "Operation returned an invalid status code 'Forbidden'" indicates that the operation you are trying to perform is not authorized. This could be due to incorrect credentials or insufficient permissions. To resolve this issue, you can try the following steps:
- Check if you have provided the correct credentials for your Azure Media Services account. Make sure that the account name and key are correct.
- Verify that you have sufficient permissions to perform the operation. You can check the role-based access control (RBAC) settings for your account to ensure that you have the necessary permissions.
- Check if there are any network or firewall issues that might be blocking the request. You can try to access the Azure Media Services API from a different network or machine to see if the issue persists.
I hope this helps! Let me know if you have any other questions.