未能使用.Net示例和Powershell进行MFA [英] Failing to MFA using .Net sample and Powershell

查看:115
本文介绍了未能使用.Net示例和Powershell进行MFA的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我正在尝试使用以下网址"https://docs.microsoft.com/en-us/partner-center/来实施MFA develop / partner-center-authentication?tabs = dotnet-app-only%2Cpowershell-partner-consent%2Cpowershell-csp-auth%2Cdotnet-cpv-auth",

I am trying to implemented MFA, using below URL "https://docs.microsoft.com/en-us/partner-center/develop/partner-center-authentication?tabs=dotnet-app-only%2Cpowershell-partner-consent%2Cpowershell-csp-auth%2Cdotnet-cpv-auth",

1。已下载.net示例" 克隆Partner-Center-Dotnet-Sample  存储库
使用Visual Studio",但在Consent应用程序中设置所有字段后,它会提示输入用户名和密码,但在此之后,它会抛出"

1. Downloaded .net sample "Clone the Partner-Center-Dotnet-Sample repository using Visual Studio", but after setting all field in Consent application, it is prompting for user name and password but after that, it is throwing "

2。尝试使用Power shell进行身份验证获取" 术语"Connect-PartnerCenter"无法识别为cmdlet的名称, "

2. Trying to Authenticate using Power shell getting "The term 'Connect-PartnerCenter' is not recognized as the name of a cmdlet,"

请帮帮我。

谢谢,

推荐答案

1。对于启用MFA的用户,在输入用户凭证后,它将是这样的附加验证,不会在我身边重现405错误:

1. For MFA Enabled User, after input the user credential, it will be additional verification like this, not reproduce 405 error in my side:

2。对于Connect-PartnerCenter命令,首先需要安装Partner Center PowerShell模块:

2. For Connect-PartnerCenter command, it will need to install Partner Center PowerShell Module firstly:

https://www.powershellgallery.com/packages/PartnerCenter/1.5.1902.2

谢谢

最诚挚的问候


这篇关于未能使用.Net示例和Powershell进行MFA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆