Am trying to connect to one of my PowerApps environment using the console app given in the following URL
Get started with the Common Data Service SDK
I followed all steps provided in the link. Registered App in AD, created environment and database in powerapps, replaced all values of the app.config sample code with the actual values. But, when i try to run the console app, it shows prompt as expected, once i give access using the prompt, it is showing following error
{"Environment discovery failed. No matching environments matched the given Id of {{my environment GUID}}."}
at following line
var client = ConnectionSettings.Instance.CreateClient().Result
What am i missing here ?
From reading everything and looking at the comments, apparently it's no longer available. I took a screen shot with the answer that was just a few months ago. Other people are having the same issue. So what was said is it's no longer available
https://docs.microsoft.com/en-us/common-data-service/entity-reference/cds-sdk-get-started#sample-console-application
This may be a work around https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/overview
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With