Where does graph API get information about organization city and state

  Kiến thức lập trình

I am using Microsoft Graph api “/organization”. It returns invalid data in “city” and “state” fields for the organization. Where does this API get the information from?

This API:
https://graph.microsoft.com/v1.0/organization

The value returned (invalid):

{
  ....
  "id": "....",
  "city": "New York",
  "state": null,
  "street": null,
  ....
}

Where do I fix that information?

3

The “city” and “state” fields for an organization can be updated in the Microsoft 365 admin center. I have just tested this and got the data seconds later

To update this information, follow these steps:

  • Sign in to the Microsoft 365 admin center using an account with
    administrator permissions.
  • Navigate to “Settings”
  • Select Org Settings
  • Select Organization Profile Tab
  • Click Organization Information
  • Update the “city” and “state” fields as needed and save your changes.

    Note that it may take some time for the updated information to be reflected in the data returned by the Graph API.

You can find more details about the organization resource type in the Microsoft Graph documentation.

Note that currently, Microsoft Graph API does not support write operations to the /organization endpoint. You cannot update these details programmatically through the API.

0

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website Kho Theme wordpress Kho Theme WP Theme WP

LEAVE A COMMENT