最近在学习Microsoft的AI,按照Azure的教程来走“Microsoft Machine Learning”时,遇到错误,相关的链接与错误提示如下:

https://microsoftlearning.github.io/mslearn-ai-fundamentals/Instructions/Labs/01-machine-learning.html

ResourceOperationFailure: Resource provider [N/A] isn’t registered with Subscription [N/A]. Please see troubleshooting guide, available here: https://aka.ms/register-resource-provider

根据错误提示进入“https://aka.ms/register-resource-provider”查阅资料,但无法解决。因为错误提示显示的是[N/A],因此你都不知道是哪个Resource Provider没有开。

继续查阅资料,看到这位国外使用者出现了同样的情况:

https://learn.microsoft.com/en-us/answers/questions/2129910/resource-provider-(n-a)-isnt-registered-with-subsc

大概意思就是,要开启“Microsoft.PolicyInsights”和“Microsoft.Cdn”这两个Resource provider,如下图所示:

操作注册后需要等一会,待彻底注册成功,即可再次尝试了。

自此,问题解决。