如何使用 https://microsoft.graph.com 和 GraphServiceClient 获取代理地址
How to get proxy addresses using https://microsoft.graph.com and GraphServiceClient
我正在尝试获取代理地址,但代理地址 属性 returns 为空,即使代理地址存在。
GraphClientHelper graphClientHelper = new GraphClientHelper(tenantId);
GraphServiceClient graphServiceClient = graphClientHelper.GetGraphServiceClient();
IGraphServiceUsersCollectionPage user = await graphServiceClient.Users.Request().GetAsync();
我使用 https://windows.net 和 ActiveDirectoryCLient 获取代理地址。
您需要具体申请proxyAddresses
。
例如:
var users = await graphClient.Users.Request().Select("id, mail, proxyAddresses").GetAsync();
我正在尝试获取代理地址,但代理地址 属性 returns 为空,即使代理地址存在。
GraphClientHelper graphClientHelper = new GraphClientHelper(tenantId);
GraphServiceClient graphServiceClient = graphClientHelper.GetGraphServiceClient();
IGraphServiceUsersCollectionPage user = await graphServiceClient.Users.Request().GetAsync();
我使用 https://windows.net 和 ActiveDirectoryCLient 获取代理地址。
您需要具体申请proxyAddresses
。
例如:
var users = await graphClient.Users.Request().Select("id, mail, proxyAddresses").GetAsync();