Skip to main content
Post a question

Notifications

Community site session details

Community site session details

Session Id : aHlZeyflLWeSugwQ5Ci9Ff

Power BI Multiple Companies D365 F&O

Mahmoud Hakim Profile Picture Mahmoud Hakim 17,887

Cross-company behavior

By default, OData returns only data that belongs to the user's default company. To see data from outside the user's default company, specify the ?cross-company=true query option. This option will return data from all companies that the user has access to.

Example: http://[baseURI\]/data/FleetCustomers?cross-company=true

To filter by a particular company that isn't your default company, use the following syntax:

http://[baseURI\]/data/FleetCustomers?$filter=dataAreaId eq 'usrt'&cross-company=true

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/odata#cross-company-behavior




This was originally posted here.

Comments

*This post is locked for comments