Notifications
Announcements
Hello Community,
i unfortunatly found an error in the Odata Metadata endpoint of Dataverse. File Columns have the Odata Type EDM.Binary, but are in fact a GUID. This trips up Odata Clients that validate the metadata.
Metadata :
(this is in a custom table, im very new to the topic so i couldnt find a build in example)
if you get the columns from the XML metadata (like https://yourinstance.crm.dynamics.com/api/data/v9.0/$metadata) you are getting an Edm.Guid and if you query that column you still get a Guid value because that is what is stored inside Dataverse. The binary content is actually stored outside Dataverse and to retrieve the content exist specific platform messages (here a link with some information https://docs.microsoft.com/en-us/powerapps/developer/data-platform/file-attributes).
If your goal is to display the binary content as part of that row I believe is not possible (opposite to image fields where you can retrieve the base64 encoded value), if you explain your goal maybe there is a workaround or something else
Yeah thats the problem, since Odata Clients cant be generated out of the metadata without modification (changing the Edm.Binary to Edm.Guid). That means a normal generated Client (and even a vanilla DataServiceContext) will throw an exception since it checks the Metadata. My goal is to report that bug or inconsistency.. Is there a Bugtracker for this product? I kinda tought this would be it.
can you provide more details? like the software you are using to generate the classes, the language used, etc etc? I am sure which exact way you can submit this behavior issue but if you provide more details is better
Thanks
I can do that, also the Problem is already there with just the Odata Api through Postman for example. I use C# with the Odata Connected Service Visual Studio 2019 extension.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268