成员不应该是 Microsoft Graph AD 中已删除组列表的一部分 [英] Shouldn't members be part of list of deleted groups in Microsoft Graph AD

查看:60
本文介绍了成员不应该是 Microsoft Graph AD 中已删除组列表的一部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Microsoft Graph API 来同步用户详细信息.当一个组被删除时,我需要获取其所有成员以便相应地更新它们.

I'm using the Microsoft Graph API to sync user details. When a group is deleted, I need to get all its members in order to update them accordingly.

因此,我跟踪组更改,并且当一个组被删除时,我尝试使用函数 列出已删除的项目.我正在使用

Therefor, I track for group changes, and when a group is being deleted, I'm trying to fetch all its members with the function List deleted items. I'm using

GET https://graph.microsoft.com/v1.0/directory/deletedItems/microsoft.graph.group?$select=id,members,displayName&$filter=id eq '53cb5660-d5ad-4610-b38b-ebde71e6c49b'

该函数只返回 id 和 name,不返回成员.如果我恢复组,所有成员关系都会恢复.

The function returns only the id and name, but no members. If I restore the groups, all the members relations resume.

如果这不是获取已删除群组成员的方法,那还有什么方法?

If this is not the way to get members of deleted groups, what is the way?

部分在同一问题上,安全组 AD 上的安全组不会进入回收站,并被永久删除,这是设计还是错误?删除后如何获取这些组的成员?

And partially on the same issue, security groups on AD are not going to the recycle bin, and being deleted permanently, is it by design or a bug? How to get members of those groups after deletion?

推荐答案

https://graph.microsoft.com/v1.0/directory/deletedItems/microsoft.graph.group

您正在使用的查询只会从已删除的项目中返回组(microsoft.graph.group)或用户(microsoft.graph.user)的对象类型

The query which you are using will give only return object types of groups(microsoft.graph.group) or users (microsoft.graph.user) from deleted items

目前,无法从已删除的项目中获取成员,请提出用户声音

Currently, there is no way to get the members from deleted items please raise theUserVoice

AzureAD 上的安全组因其设计而不会进入回收站.请参阅此文档

Security groups on AzureAD are not going to the recycle bin because of its design.Please refer this document

这篇关于成员不应该是 Microsoft Graph AD 中已删除组列表的一部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆