-
Notifications
You must be signed in to change notification settings - Fork 20
Tutorial Get OData Entities
This tutorial will show you how to list OData entities from a D365FO environment.
- Machine with D365FO installed
- PowerShell 5.1
- d365fo.integrations module installed
- A D365FO configuration that has been marked as active
Please visit the Install as a Administrator or the Install as a Administrator tutorials to learn how to install the tools.
If we want to list all the entities that contains the word 'Sales', we can query the D365FO environment for that information. Type the following command:
Get-D365ODataPublicEntity -EntityNameContains Sales
If we want to list the names of all the entities that contains the word 'Sales', we can query the D365FO environment for that information. Type the following command:
Get-D365ODataPublicEntity -EntityNameContains Sales -OutNamesOnly
In this tutorial we showed you how you can query the D365FO environment and have it list OData entities. We showed how you can search for keywords across different names of the entities, to help you narrow down the list of entities you are getting back.
- Install as a non-Administrator
- Install as a Administrator
- Import d365fo.integrations module
- List available commands from d365fo.integrations module
- Get help content for a command