本文介绍了在TP2刷新上部署MySQL RP时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正忙着在AAD凭证问题的帮助下部署MySQL RP。  MAS门户身份验证以及通过PowerShell与MAS的连接都可以在控制台虚拟机上以及建立了VPN连接
的其他计算机上完美运行。 但是,无论我在运行DeployMySQLProvider.ps1脚本时使用的是AadTenantDirectoryName和AzCredential,它都会失败并显示"无法验证AAD帐户"。 我正在使用正确的AAD目录名称和全局
管理员,我在部署MAS时使用但没有运气。 以下是脚本运行的输出:



PS C:\ Users\pitt_user01 \Downloads \ MySQL> .\DeployMySQLProvider.ps1

脚本已启动,输出文件为C:\ Users\pitt_user01 \Downloads \ MySQL \ Logs \DeployMySQLProvider.ps1_20161208-124240.txt

VERBOSE:12:42:40 PM:

VERBOSE:12:42:40 PM:******************** **********************
$
VERBOSE:12:42:40 PM:*执行Script DeployMySQLProvider.ps1 *

VERBOSE:12:42:40 PM:************************************* *****

VERBOSE:使用参数:

VERBOSE:{
$


}

VERBOSE:12:42:40 PM:

VERBOSE:12:42:40 PM:******************** ****************************
VERBOSE:12:42:40 PM:*检查Azure Stack Powershell模块... *

VERBOSE:12:42:40 PM:*************************** *********************

警告:模块"Common"中某些导入命令的名称包含可能使它们成为未经批准的动词不易发现。要查找具有未批准动词的命令,请使用Verbose参数再次运行Import-Module命令。有关
批准动词的列表,请键入Get-Verb。

VERBOSE:12:42:42 PM:

VERBOSE:12:42:42 PM: ************************ *¥b $ b VERBOSE:12:42:42 PM:*获取参数*

VERBOSE:12:42:42 PM:************************ *

VERBOSE:无法登录Aad帐户:chiadmin

VERBOSE:错误是基础连接已关闭:无法建立SSL / TLS安全信用关系。
频道。

无法验证Aad帐户,请输入正确的azure活动目录租户目录名称和服务管理员帐户凭据


解决方案

I'm getting hung up deploying the MySQL RP right out of the gate with AAD credential issues.  The MAS portal authentication and connection to MAS via PowerShell are all working perfectly on the Console VM and from another machine with the VPN connection established.  However, no matter what I use for AadTenantDirectoryName and AzCredential when running the DeployMySQLProvider.ps1 script, it fails with "Failed to verify AAD account".  I am using the correct AAD directory name and Global Admin that I used when deploying MAS with no luck.  Here is the output from the running of the script:

PS C:\Users\pitt_user01\Downloads\MySQL> .\DeployMySQLProvider.ps1
Transcript started, output file is C:\Users\pitt_user01\Downloads\MySQL\Logs\DeployMySQLProvider.ps1_20161208-124240.txt
VERBOSE: 12:42:40 PM :
VERBOSE: 12:42:40 PM : ******************************************
VERBOSE: 12:42:40 PM : *Executing Script DeployMySQLProvider.ps1*
VERBOSE: 12:42:40 PM : ******************************************
VERBOSE: Using Parameters:
VERBOSE: {

}
VERBOSE: 12:42:40 PM :
VERBOSE: 12:42:40 PM : ************************************************
VERBOSE: 12:42:40 PM : *Checking for Azure Stack Powershell Module ...*
VERBOSE: 12:42:40 PM : ************************************************
WARNING: The names of some imported commands from the module 'Common' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
VERBOSE: 12:42:42 PM :
VERBOSE: 12:42:42 PM : ************************
VERBOSE: 12:42:42 PM : *Getting the parameters*
VERBOSE: 12:42:42 PM : ************************
VERBOSE: Cannot login Aad with account: chiadmin
VERBOSE: Error are The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure
channel.
Failed to verify Aad account, please enter correct azure active directory tenant directory name and service admin account credential

解决方案


这篇关于在TP2刷新上部署MySQL RP时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-24 17:31