简体   繁体   English

Microsoft Graph OData查询参数$ expand似乎不起作用

[英]Microsoft Graph OData query parameter $expand doesn't seem to work

I'm currently developing an application that uses an Azure AD instance. 我目前正在开发一个使用Azure AD实例的应用程序。 I'm trying to query this AD to sync the users to my system. 我正在尝试查询此AD以将用户同步到我的系统。 I want to retrieve all the users and their groups. 我想检索所有用户及其组。 The Microsoft Graph API has the following function for this operation: Microsoft Graph API具有以下用于此操作的功能:

https://graph.microsoft.com/v1.0/users?$expand=memberOf

However, this gives me the same response as calling: https://graph.microsoft.com/v1.0/users . 但是,这给了我与调用相同的响应: https://graph.microsoft.com/v1.0/usershttps://graph.microsoft.com/v1.0/users Users in my AD do have groups and I did try calling the api with $select instead of $expand , but also without result. 我AD中的用户确实有群组,我尝试使用$select而不是$expand来调用api,但也没有结果。

Is this a bug? 这是一个错误吗? Am I doing something wrong? 难道我做错了什么?

Thanks! 谢谢!

Expanding navigation properties on user entities is currently not working on the production (v1.0). 扩展用户实体的导航属性当前不适用于生产(v1.0)。 Please see this post for more information: https://stackoverflow.com/a/39022980 . 有关更多信息,请参阅此帖子: https//stackoverflow.com/a/39022980

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我似乎无法使 Microsoft CSP SDK for .NET 工作 - I can't seem to make the Microsoft CSP SDK for .NET work Microsoft Translator Text API不起作用 - Microsoft Translator Text API doesn't work Bing Web Search API v7似乎不起作用 - Bing Web Search API v7 doesn't seem to work 输入绑定到自定义类似乎不适用于blob - Input binding to custom class doesn't seem to work for blob Microsoft Azure API 管理 - 缓存策略不起作用 - Microsoft Azure API Management - Cache policy doesn't work Microsoft 语音 NuGet package 在 C++ 项目中不起作用 - Microsoft speech NuGet package doesn't work in C++ project 在具有多个属性的Graph API查询中使用$ expand? - Using $expand in Graph API query with multiple attributes? 使.net的Microsoft Azure Graph Client发布$ expand - Making Microsoft Azure Graph Client for .net emit $expand Microsoft Graph API 尝试使用 $expand(microsoft.graph.itemattachment/item) 读取 ItemAttachment 属性时“访问被拒绝” - Microsoft Graph API “Access is denied” while trying to read the ItemAttachment Properties with $expand(microsoft.graph.itemattachment/item) 如何将 powershell 脚本传递给 VM? Escaping \ 似乎不起作用 - How do I pass a powershell script to a VM? Escaping \ doesn't seem to work
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM