1

O365 グループと統合するアプリを開発しようとしています。そのためには、取得できるすべての情報が必要です。「 https://graph.microsoft.com/v1.0/groups/ 」を呼び出すときにGraph API Explorerを使用すると、次のような回答が得られます。

{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#groups/$entity",
    "id": "8143b56b-a4bb-43ef-8b17-a747b1cacec1",
    "createdDateTime": "2016-02-23T11:03:33Z",
    "description": "asd asd asd ",
    "displayName": "Test Group",
    "groupTypes": [
        "Unified"
    ],
    "mail": "testgroup@fastgroup.onmicrosoft.com",
    "mailEnabled": true,
    "mailNickname": "testgroup",
    "onPremisesLastSyncDateTime": null,
    "onPremisesSecurityIdentifier": null,
    "onPremisesSyncEnabled": null,
    "proxyAddresses": [
        "SMTP:testgroup@fastgroup.onmicrosoft.com"
    ],
    "renewedDateTime": "2016-02-23T11:03:33Z",
    "securityEnabled": false,
    "visibility": "Public"
}

しかし、アプリから同じ残りの関数を呼び出すと、次のようにほとんどのエンティティが null として取得されます。

{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#groups/$entity",
    "id": "8143b56b-a4bb-43ef-8b17-a747b1cacec1",
    "createdDateTime": null,
    "description": null,
    "displayName": "Test Group",
    "groupTypes": [],
    "mail": null,
    "mailEnabled": null,
    "mailNickname": null,
    "onPremisesLastSyncDateTime": null,
    "onPremisesSecurityIdentifier": null,
    "onPremisesSyncEnabled": null,
    "proxyAddresses": [],
    "renewedDateTime": null,
    "securityEnabled": null,
    "visibility": null
}

誰かが私に欠けているものを教えてもらえますか?

アプリのアクセス トークン スコープ: Group.Read.All User.Read.

ありがとう!

4

1 に答える 1