在没有门户的情况下配置 Azure AD Connect Cloud Sync?

Configure Azure AD Connect Cloud Sync without Portal?

是否可以使用 API 以另一种方式从 Azure 门户重现“配置 Azure AD Connect 云同步”的步骤?

此处描述了这些步骤 link:

https://docs.microsoft.com/en-us/azure/active-directory/cloud-sync/tutorial-single-forest#configure-azure-ad-connect-cloud-sync

我想使这个过程自动化,没有用户交互。 Graph API 有可能吗?有什么例子吗?

感谢 Marilee Turscak - MSFT 提供参考 Link。

I don't understand this sentence: "You need to use this application ID 1a4721b3-e57f-4451-ae87-ef078703ec94. The displayName is the AD domain url, if used in the portal (for example, contoso.com), but it may be named something else." What is the application id I should use? And what is the display name? I get 401 or 403 errors. Is there an additional step before this?

默认情况下,您必须使用与其应用程序模板 ID 相同的应用程序 ID,该 ID 用于将条目从活动目录提供到 Azure 活动目录。

但是您可以使用任何您想要的显示名称,请确保拥有所需的权限,如下所示。您可以使用 Graph 资源管理器执行 post 操作。

完成上述 post 操作后,您将获得服务主体 ID,可用于 Marilee Turscak - MSFT 提供的文档中提到的进一步步骤。

参考:

How to programmatically configure cloud sync using MS Graph API | Microsoft Docs