Hi Gerardo G Leon,
To resolve the above issue: Please add Microsoft.PolicyInsights and Microsoft.Cnd to your Subscription Resource Provider to resolve the issue.
Go to Azure Portal -> Select your Subscription -> Select Settings -> Select Resource Providers
Make sure you add Microsoft.PolicyInsights and Microsoft.Cnd policies. Refresh and retry deployment.
Do let us know if you have any other questions.
Reference: https://learn.microsoft.com/en-us/answers/questions/1983847/error-while-creating-a-managed-online-endpoint-in Also, see Troubleshoot common Azure deployment errors for common errors and resolution.
I hope this information helps. Thank you!