microsoft / Azure-Analytics-and-AI-Engagement

Azure Analytics and AI Engagement
Other
136 stars 116 forks source link

Healthcare Minor Bugs #110

Open alxdean opened 3 years ago

alxdean commented 3 years ago

I noticed in the Logstream of the webapp, that it is trying to load a specific Dashboard via GUID from the Workspace. That Dashboard does not exist under that GUID for obvious reasons.

System.Exception: invalid access token response 2021-08-19T15:42:26.347267602Z: [INFO] ---> System.Exception: request: {"Version":"1.1","Content":{"Headers":[{"Key":"Content-Type","Value":["application/x-www-form-urlencoded"]},{"Key":"Content-Length","Value":["16"]}]},"Method":{"Method":"POST"},"RequestUri":"https://api.powerbi.com/v1.0/myorg/groups/5ccdbdcb-3398-4a90-b241-e0d324e11949/dashboards/926dbb03-4576-4968-b438-b08d828ff59e/GenerateToken" ... ...

Might be worth changing the logic in code, or giving us the chance to change the Dashboard ID via a config entry.

xor-ranavikrant commented 3 years ago

Thank you for the suggestion. We already have made such provisions to update dashboard id's via config in our newer fsi demo. Will soon revamp the older demos to include those functionalities as well. Will leave your issue open until then as a reminder :)