Hi @ScottLLC,
Thanks for posting this code. I am now able to connect directly from PowerBI to Glide in PowerBI desktop. However once I publish my file to PowerBI I can’t refresh the semantic model from the cloud interface. When I try I get an error msg…
Data source errorScheduled refresh is disabled because at least one data source is missing credentials. To start the refresh again, go to this dataset’s settings page and enter credentials for all data sources. Then reactivate scheduled refresh.
The credentials are embedded in the code you posted above so not sure why i can’t refresh from the cloud when it works fine from the desktop.
If I try to edit the credentials in the settings for the semantic model I can’t get it to authenticate.