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

    • Microsoft Azure - 常见问题

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

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

      (当管理员配置安全密保问题及答案为身份验证必选项时)如果用户在验证身份时忘记其答案了,怎么解决? 用户可以使用MFA备份验证码: 如果说在不违背企业安全策略的前提下,管理员可以选择存储用户的安全密保问题及答案为Reversible encryption或者Algorithm方式。请看下图通俗解释: (1)以不可逆存储用户的安全问题答案,管理员界面中,会看到用户设置的问题答案以*代替: ...
    • 【APM】可用性报告自定义时间问题

      问题概述:中文版中,可用性报告自定义时间周期选择后跳转到主页页面。 发现版本:16210-16370 解决办法:通过补丁修复,联系技术支持support@manageengine.cn,研发会根据对应版本开发补丁。 后续会在新版本修复此问题;英文版正常。 问题详述: 1.选择任何一个监视器、业务组可用性报表,选择自定义区间,点击开始: 2.会跳转到首页:
    • Azure SQL数据库 - 常见问题

      1. 为什么我们在Azure SQL 数据库监视器中删除了诊断设置依赖项? APM v15240以下版本: Azure SQL数据库正在使用诊断设置来执行数据收集。 必须满足先决条件才能打开用于数据收集的诊断设置。 在编辑监视器页面中提供一个诊断存储帐户,从而方便数据收集。 从APM v15240开始: Azure SQL数据库监视器已得到增强,可以使用Azure API,并且已删除诊断设置依赖项。 数据收集没有任何附加条件。 无需提供编辑监视器页面中的诊断存储帐户详细信息以便数据收集。 ...