Hi,
I am new to Dynamics 365 but have to create some Flows in Microsoft Flow.
Right now I am trying to create a flow for a custom entity. When the flow is triggered, Dynamics 365 should create a new invoice, relate this invoice to a customer and create a invoice product on this invoice.
I set everything up except one thing:
The invoice product is related to a custom entity. When I try to create this relationship I always receive an error:
{
"error": {
"code": "0x0",
"message": "Resource not found for the segment 'cr077_Lizenzen'."
}
}
This is the relevant part of the flow:

I already know that I have to use the plural form of the entity identifier. This should be "cr077_Lizenzen" because the singular is "cr077_Lizenz". I also tried ""cr077_Lizenzs" but none of them worked.
I have created many relationships with default entities and these are working, only this custom one does not work.
Could anyone give me a hint how to solve this? I could not find anything via web research or in the documentation. Besides that, does anyone know a good book to get a better understanding of Dynamics 365?
Thank you for any help!