Skip to content

"Identity" complex type missing "email" as a Property in XML #814

@TheKaur

Description

@TheKaur

We use the v1.0 metadata XML to autogenerate all types for our Graph API usages in golang.
Querying a DriveItem returns an email field in LastModifiedBy and CreatedBy fields (user below) but the same is not being captured by the XML metadata. Can we get it updated for v1.0?
Graph explorer

GET v1.0 https://graph.microsoft.com/v1.0/me/drive/root/children

{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)",
    "value": [
        {
            "createdBy": {
                "user": {
                    "email": "MeganB@M365x214355.onmicrosoft.com",
                    "id": "48d31887-5fad-4d73-a9f5-3c356e68a038",
                    "displayName": "Megan Bowen"
                }
            },
            "createdDateTime": "2017-07-31T18:56:29Z",
            "eTag": "\"{60F36ED0-85CE-4771-B349-E671C691EFCA},1\"",
            "id": "01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K",
            "lastModifiedBy": {
                "user": {
                    "email": "MeganB@M365x214355.onmicrosoft.com",
                    "id": "48d31887-5fad-4d73-a9f5-3c356e68a038",
                    "displayName": "Megan Bowen"
                }
            },
            "lastModifiedDateTime": "2017-07-31T18:56:29Z",
            "name": "Attachments",
            "parentReference": {
                "driveType": "business",
                "driveId": "b!-RIj2DuyvEyV1T4NlOaMHk8XkS_I8MdFlUCq1BlcjgmhRfAj3-Z8RY2VpuvV_tpd",
                "id": "01BYE5RZ56Y2GOVW7725BZO354PWSELRRZ",
                "name": "Documents",
                "path": "/drive/root:",
                "siteId": "d82312f9-b23b-4cbc-95d5-3e0d94e68c1e"
            },
            "webUrl": "https://m365x214355-my.sharepoint.com/personal/meganb_m365x214355_onmicrosoft_com/Documents/Attachments",
            "cTag": "\"c:{60F36ED0-85CE-4771-B349-E671C691EFCA},0\"",
            "fileSystemInfo": {
                "createdDateTime": "2017-07-31T18:56:29Z",
                "lastModifiedDateTime": "2017-07-31T18:56:29Z"
            },
            "folder": {
                "childCount": 0
            },
            "size": 0,
            "specialFolder": {
                "name": "attachments"
            }
        },

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions