none
Office 365 - Get User on V1.0 returns lesser attributes compared to beta version RRS feed

  • Question

  • Hello! The V1.0 endpoint is returning a lot less attributes of the user resource, while the beta version is good.

    I pasted both the versions below. Please let know what's wrong here.

    curl -i -X GET "https://graph.microsoft.com/v1.0/users/f224ea76-d64f-43d7-a883-0253acc20b7c?" -H "Authorization: Bearer <access-token>"
    {"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#users/$entity","id":"f224ea76-d64f-43d7-a883-0253acc20b7c","businessPhones":[],"displayName":"ap-admin test","givenName":"ap-admin","jobTitle":null,"mail":"admin@googaptest.onmicrosoft.com","mobilePhone":null,"officeLocation":null,"preferredLanguage":"en-IN","surname":"test","userPrincipalName":"admin@googaptest.onmicrosoft.com"}

    curl -i -X GET "https://graph.microsoft.com/beta/users/f224ea76-d64f-43d7-a883-0253acc20b7c?" -H "Authorization: Bearer <access-token>"

    {"@odata.context":"https://graph.microsoft.com/beta/$metadata#users/$entity","id":"f224ea76-d64f-43d7-a883-0253acc20b7c","accountEnabled":true,"assignedLicenses":[{"disabledPlans":[],"skuId":"f245ecc8-75af-4f8e-b61f-27d8114de5f3"}],"assignedPlans":[{"assignedDateTime":"2016-11-17T07:27:20Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"c7699d2e-19aa-44de-8edf-1736da088ca1"},{"assignedDateTime":"2016-11-17T07:27:20Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"0feaeb32-d00e-4d66-bd5a-43b5b83db82c"},{"assignedDateTime":"2016-11-17T07:27:20Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"9aaf7827-d63c-4b61-89c3-182f06f82e5c"},{"assignedDateTime":"2016-11-17T07:27:20Z","capabilityStatus":"Enabled","service":"YammerEnterprise","servicePlanId":"7547a3fe-08ee-4ccb-b430-5077c5041653"},{"assignedDateTime":"2016-11-17T07:27:20Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"094e7854-93fc-4d55-b2c0-3ab5369ebdc1"},{"assignedDateTime":"2016-11-17T07:27:20Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedDateTime":"2016-11-17T07:27:20Z","capabilityStatus":"Enabled","service":"Sway","servicePlanId":"a23b959c-7ce8-4e57-9140-b90eb88a9e97"},{"assignedDateTime":"2016-11-17T07:27:20Z","capabilityStatus":"Enabled","service":"ProjectWorkManagement","servicePlanId":"b737dad2-2f6c-4c65-90e3-ca563267e8b9"},{"assignedDateTime":"2016-11-17T07:27:20Z","capabilityStatus":"Enabled","service":"TeamspaceAPI","servicePlanId":"57ff2da0-773e-42df-b2af-ffb7a2317929"}],"businessPhones":[],"city":null,"companyName":null,"country":"IN","department":null,"displayName":"ap-admin test","givenName":"ap-admin","jobTitle":null,"mail":"admin@googaptest.onmicrosoft.com","mailNickname":"admin","mobilePhone":null,"onPremisesImmutableId":null,"onPremisesLastSyncDateTime":null,"onPremisesSecurityIdentifier":null,"onPremisesSyncEnabled":null,"passwordPolicies":null,"passwordProfile":null,"officeLocation":null,"postalCode":null,"preferredLanguage":"en-IN","provisionedPlans":[{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"}],"proxyAddresses":["SMTP:admin@googaptest.onmicrosoft.com"],"refreshTokensValidFromDateTime":"2016-11-17T07:26:40Z","showInAddressList":null,"state":null,"streetAddress":null,"surname":"test","usageLocation":"IN","userPrincipalName":"admin@googaptest.onmicrosoft.com","userType":"Member"}


    Alerts from MSDN forums.

    Monday, November 21, 2016 11:29 AM