azure - Office365:在收件箱 powershell 中关注

标签 azure powershell office365

有没有办法将 PowerShell 命令写入“在收件箱中关注”群组?
或者可能是 Microsoft Graph API?

我正在尝试通过代码来实现此功能,但看不到任何
文档。

在 Office 365 中,加入群组的每个用户都可以使用下拉菜单选择“在收件箱中关注”或“在收件箱中停止关注”:

here an image example of follow in inbox

最佳答案

我不知道是否可以通过 Powershell 来做到这一点。您可以在Office365的AdminCenter gui的群组设置中进行设置。

请参见此处:https://learn.microsoft.com/en-us/office365/admin/create-groups/create-groups?view=o365-worldwide#how-following-group-email-works

更新:

看来你可以使用Graph API来做到这一点:https://learn.microsoft.com/en-us/graph/api/group-update?view=graph-rest-1.0

功能“UpdateGroup”和设置“autoSubscribeNewMembers”。

注意:这仅对新成员(member)生效,对现有成员(member)无效!

关于azure - Office365:在收件箱 powershell 中关注,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53705988/

相关文章:

regex - 在 Powershell 中使用函数替换

.net - 在 powershell 中加载 .NetCore DLL

asp.net-mvc - 清除 IISExpress 缓存

c# - 使用 Microsoft Graph .NET 客户端库分配经理

model-view-controller - SharePoint 客户端对象模型在 clientContext.ExecuteQuery() 方法上返回 "User Cannot Be Found"

azure - 在 Windows 10 上安装 Azure 机器学习工作台失败

azure - Windows Azure 和多个存储帐户

wordpress - 重置部署到 Azure 的 WordPress 的密码

c# - 无法使用客户端 ID 和密码访问用户照片

azure - JavaScript HTTP 触发器 Azure 函数