"authority"应采用Uri格式.参数名称:authority' [英] ''authority' should be in Uri format Parameter name: authority'
问题描述
当我基于此博客创建Azure VM时,https://docs.microsoft.com/zh-cn/azure/virtual-machines/windows/csharp.
While I am creating Azure VM based on this blog, https://docs.microsoft.com/en-us/azure/virtual-machines/windows/csharp.
我有一个错误-在Visual Studio中,"authority"应为Uri格式,参数名称为"authority",调试模式会指出资源组步骤.
I have an error - ''authority' should be in Uri format Parameter name: authority' in Visual Studio and the debug mode points out resource group step.
请帮助我解决此问题.
考虑到这一点,
Vijayaprabakaran S.
Vijayaprabakaran S.
代码:
推荐答案
能否请您看- https://github.com/Azure /azure-sdk-for-net/issues/3238
O r可以尝试使用基于令牌的身份验证-https://docs.microsoft. com/zh-CN/dotnet/azure/dotnet-sdk-azure-authenticate?view = azure-dotnet#authenticate-with-token凭证
Or can try with token base auth - https://docs.microsoft.com/en-us/dotnet/azure/dotnet-sdk-azure-authenticate?view=azure-dotnet#authenticate-with-token-credentials
这篇关于"authority"应采用Uri格式.参数名称:authority'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!