Hi Raymond Starkey,
Thank you for reaching out to Microsoft Q & A forum.
It looks like your Cosmos DB request is failing due to a cryptographic key issue. Here’s how you can resolve it:
1.Check Key Vault & Permissions
Ensure the key exists and is not deleted, disabled, or expired.
Verify that the Cosmos DB default identity has the required get, wrap, and unwrap permissions.
If using RBAC, make sure the "Key Vault Crypto Service Encryption User" role is assigned.
2.Verify Key Vault URI & Automatic Key Rotation
Cosmos DB does not accept versioned keys. Use the format: https://my-vault.vault.azure.net/keys/my-key (without a version).
Allow up to one hour for the update to take effect.
3.Resolve .NET 9 Data Protection Key Issue
Ensure Data Protection keys are correctly stored in Azure Key Vault, Blob Storage, or an accessible file system path.
4.Unable to Raise a Support Ticket?
Check your subscription level, permissions, and support plan status.
If issues persist, try Microsoft Support Chat or the Azure Support Portal.
Please feel free to contact us if you have any additional questions.
If you have found the answer provided to be helpful, please click on the "Accept answer/Upvote" button so that it is useful for other members in the Microsoft Q&A community.