I genearted a project in 2.50.0 with MSGraph as datasource. This worked.
Opening in it 2.50.7 endend in the same preview as above
In Both Version you can not run the generated project.
Error: CS0101: Der Namespace "DscApps.Models.MsGraph" enthält bereits eine Definition für "Modality".
It does not matter what entities you select.
Both errors persit after deleting the datasource
Antother issue is that editing the datasorce alwas shows the default setting, not what hav been selected
Tried it on 3 different machines with different Version of the SDK.
In the end all results in the same error.
The best I get was on a fresh install the preview works after adding the MSGraph data source. But after closing and reopening the app same error
The preview looks like the picture above, app cannot be run because of the Error: CS0101: Der Namespace "DscApps.Models.MsGraph" enthält bereits eine Definition für "Modality".
Problem 1: the model is always generated with the default settings, not with the selected entities.
Problem 2: Deleting the data source does not delete it complete. Close App delete manually. Then the preview is working again
But there seems to be a spelling problem with the user object
If you set a property to the result of GetUsers the type is set to: Radzen.ODataServiceResult
With results in the error Namespacename "user" not found
After change to Radzen.ODataServiceResult running the app is passible.
But the property is not usable, because then you get other errors as result of different spellings
Result App does not start: error CS0029: Der Typ "Microsoft.Graph.User" kann nicht implizit in "Mytest3.Pages.User" konvertiert werden
Delete DataGrid page -> App starts
Added Label with value ${MyData.displayName} -> Page not loadable, error: Unhandled exception rendering component: Object reference not set to an instance of an object
Writing the values direct in properties is working: