Dynamics 365 Global Option Sets and Web API

1 Comment

Global Option Sets in Power BI can be accessed through the Web API.

To access them, go to the URL:

https://yourcrm.crm.dynamics.com/api/data/v8.1/GlobalOptionSetDefinitions?$select=Name

From here, the MetadataId value of the option set can be used to

https://yourcrm.crm.dynamics.com/api/data/v8.1/GlobalOptionSetDefinitions(MetadataId)

E.g.

https://yourcrm.crm.dynamics.com/api/data/v8.1/GlobalOptionSetDefinitions(3de5f647-b149-4c82-b275-dd91e860b08d)

 

ABOUT CARL DE SOUZA

Carl de Souza is a developer and architect focusing on Microsoft Dynamics 365, BI, Web, Cloud and Data Science.

carldesouza.comLinkedIn Twitter | YouTube

 

One Response to Dynamics 365 Global Option Sets and Web API

  1. Thanks for the solution.

    But this solution does not work correctly because the MetadataId is different among organizations.

    Regards,
    Anh

Leave a Reply

Your email address will not be published. Required fields are marked *