PowerBIEmbedded_AppOwnsData eorr after publishing to IIS
I was able to download the PowerBIEmbedded_AppOwnsData MVC code update the parametes, run it locally and everything worked successfully everytime. However, now I published the solution to our test IIS server and I get the following error:
System.ArgumentNullException: Value cannot be null. Parameter name: authority at Microsoft.IdentityModel.Clients.ActiveDirectory.Authenticator.DetectAuthorityType(String authority) at Microsoft.IdentityModel.Clients.ActiveDirectory.Authenticator..ctor(String authority, Boolean validateAuthority) at PowerBIEmbedded_AppOwnsData.Controllers.HomeController.<EmbedReport>d__9.MoveNext() in C:\Users\[myusername]\Documents\PowerBI-Developer-Samples-master\PowerBI-Developer-Samples-master\App Owns Data\PowerBIEmbedded_AppOwnsData\Controllers\HomeController.cs:line 48
Any ideas would be greatly appreciated. I also don't see how it has embedded my original file directory.