Ayush Milan Greetings & Welcome to Microsoft Q&A forum!
{"code":"SubscriptionNotRegistered","message":"Resource provider [N/A] isn't registered with Subscription [N/A]. Please see troubleshooting guide, available here: https://aka.ms/register-resource-provider","details":[],"additionalInfo":[]}
Please add Microsoft.PolicyInsights in addition to 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 me 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.
If the response helped, please do click Accept Answer
and Yes
for was this answer helpful.