Using Dynamics cloud-hosted environment that has Power Platform integration enabled and environment linked .
I have enabled both Vendor2Entity and Customer2Entity virtual entities (i can see the records in dataverse tables) . I have checked that virtual entity metadata is configured too.
When I go to Business event catalog -> Data event catalog, and try to activate the creation data events for any of those entities I get the following error: "Business events activation has been cancelled", "Exception while trying to get Virtual Entity metadata for entity"
Checking the event log this is what I get always:
Exception when trying to get Virtual Entity metadata for entity: VendVendorV2Entity
exceptionMessage Response status code does not indicate success: 400 ({"error":"invalid_client","error_description":"Expected aud securityservice.operations365.dynamics.com but found ."}).
Any clue to follow ? Thanks in advance