ADM中关于M365问题(Msonline,cmdlet)等相关问题的排错步骤:

ADM中关于M365问题(Msonline,cmdlet)等相关问题的排错步骤:

1.请确保ADM的服务器安装了Azure AD的MSOnline PowerShell模块:
MSOnline PowerShell 模块可以通过两种方式安装:
1)使用软件
通过 PowerShell cmdlet,需要满足以下前提:
i) 软件要求:
1.安装 PowerShell 3.0 及更高版本
2.下载并安装 Microsoft Online 服务登录助手。
3.为 Windows PowerShell 启用 Azure AD 模块
4.安装的是64位版本的 ADManager Plus
ii) 其他要求:
1. 用于配置的 Office 365 帐号不得启用 MFA(Multi-Factor-Authentication)。
2. 该帐户必须是Global Administrator (首选) 或者User Management Administrator

满足上述要求后,请按照以下步骤操作:单击下面的链接以下载 Azure AD 模块。

在安装了 ADManager Plus 的机器上打开 Windows PowerShell

$UserCredential = Get-Credential(输入在 ADManager Plus 中配置的凭据,在 Admin-->Office 365 下)
导入模块 MSOnline
Connect-MsolService [输入 ADManager Plus 中提供的 Office 365 凭据,如果再次出现提示]

Get-MsolDomain

然后重新启动 ADManager Plus 的服务并检查同样的问题是否仍然存在
执行上述步骤应该可以解决错误问题。

为避免翻译有歧义,另附英文原文:
We understand that you are facing an issue with the O365 connectivity. Pertaining the prompt to install MSOnline Powershell for Azure AD.

Before you set out to add an Office 365 account in ADManager Plus, ensure that you MSOnline PowerShell module for Azure Active Directory is also installed on the machine where ADManager Plus is installed.
The MSOnline PowerShell module can be installed in two ways:

Using software
Through PowerShell cmdlet

There could be few reasons why you might face errors when you are attempting to configure Office 365 accounts in your ADManager Plus.

Troubleshooting:

The error can be resolved by meeting the following requirements:

i) Software requirements:
Install PowerShell 3.0 and above
Download and install Microsoft Online services sign-in assistant.
Enable Azure AD module for Windows PowerShell
Install 64-bit version of ADManager Plus

ii) Other requirements:

1. The Office 365 account used to configure must not have the MFA (Multi-Factor-Authentication) enabled.

2. The account must be a Global Administrator (Preferred) or User Management Administrator.

Once the above requirements are met, follow the steps mentioned below: Click on the link below to download the Azure AD modules.

Open Windows PowerShell on the machine where ADManager Plus is Installed

$UserCredential = Get-Credential (Enter the credentials configured in ADManager Plus under Admin-->Office 365)
Import-Module MSOnline
Connect-MsolService [Enter the Office 365 credential given in ADManager Plus, if prompted again]

Get-MsolDomain

And then restart the service of ADManager Plus & check if the same issue persists
Performing the above steps should resolve the issue with the error.
    • Related Articles

    • 抛开许可,集成异常因素,EC SDP代理资产数量不一致问题

      抛开许可因素,EC 采集资产数量发现SDP不一致,EC数量远远大于SDP,已排除集成信息失败等问题。 可能原因: 优先考虑服务标签问题。 因为,在EC中,服务标签为普通属性,即不是唯一性考量条件,可以重复,而在SDP中,资产唯一性顺序优先为服务标签,当多个计算机采取想通服务标签时,会产生相同服务标签覆盖资产信息情况,在SDP资产历史中可以查看到资产被多次覆盖。 解决方案: 首先,进入到EC,进行带有资产标签属性的计算机列表报表excel导出,然后进行分组过滤查看,找到所有重复的服务标签。 ...
    • Microsoft Azure - 常见问题

      1. 当您从Azure门户中删除任何受支持的服务时,Applications Manager中的Azure监视器会发生什么情况? 在Azure门户中对任何受支持的Azure资源执行删除操作时,在Azure父监视器的下一次轮询中,相应的监视器将在Applications Manager中自动删除。 此外在Applications Manager中删除Azure监视器时,将在审核日志中添加一个条目。您可以在管理 -> 工具 -> 审核日志 -> 选择操作为“Azure监视器删除”下进行检查。 ...
    • 13 XXX 版本升级到14205版本升级问题。

      目前有在客户环境中遇到13XXX版本升级14205版本两个报错,可以在相同升级前额外注意提前检查是否存在相同问题,或者在发现相同报错时采取下列解决方案。 升级包 https://download.manageengine.com/products/service-desk/91677414/ManageEngine_ServiceDesk_Plus_14_2_0_SP-0_5_0.ppm ...
    • 添加新的Weblogic监视器:常见问题

      问题: WebLogic服务器的用户帐户应该拥有哪些最低安全权限才能进行监控? 回答: 用户应具有管理权限。Applications Manager Webserver端口9090应该可以从WebLogic服务器访问,并且 WebLogic服务器的相同HTTP端口应该可以从AppManager计算机上访问。例如WebLogic端口7001应该可以从Applications Manager服务器访问(使用telnet命令)。 检查WebLogic服务器中配置的侦听地址是否与Applications ...
    • SDP MSP 默认地点关联多账户问题

      问题: 当授予技术员 accountAdmin 权限时,创建账号时会有一个默认的普通站点。但是,这个站点对应的是一个没有关联任何站点的站点,只要该账号下没有其他自定义站点,在关联一个账号时,只要该账号没有添加更多的自定义站点,它就会自动添加所有账号。将带来技术人员链接到不需要他们管理的账户问题。 问题原因: 经过研发内部检查,认为这是一种有意为之的行为,通常在创建帐户时,会创建一个默认的地点,该地点引用默认设置。 ...