There is a long standing Microsoft bug where PowerBI does not properly recognize self-referencing entities during data imports.
This can manifest itself as an error message like this: north52_schedule has conflicting definitions for the property north52_schedule_children
In order to resolve this you will need to carry out the following steps:
- Download and install WebApi Launcher for XrmToolBox (https://www.xrmtoolbox.com/plugins/AshV.WebApiTester.XTB/)
- Open WebApi Launcher and connect to the relevant system
- Copy in the URL below into the main window and click the send button
- https://XXXXXX.crm4.dynamics.com/api/data/v9.1/RelationshipDefinitions(SchemaName='north52_schedule_children')
- Replace XXXXX with the system you are working on and make sure to use the correct crm.dynamics.com
- This will bring back JSON information
- We are looking for the following values:
- Copy the JSON into your clipboard from the Response Body tab
- Next click the Request tab and paste the JSON from the clipboard into the Request Body tab
- Change the two null values above to these values:
- Change the ‘GET’ command to a ‘PUT’ command
- Click Send
- Now test to see if you can connect to PowerBI