What is the problem? Something is missing in the web. "Impossibile trovare il metodo" means "Method not found"). Operating System Compatibility: Windows XP SP3 (64-bit and Starter Editions are not supported, Windows Image Mastering API(IMAPI) Ver.2.0 or later is required to use the function for creating discs. But the application go to this exception: TokenCredentials = new TokenCredentials(authenticationResult.AccessToken, "Bearer") Īnd in the view I just try to view my report. Var authenticationContext = new AuthenticationContext(authorityUrl) ĪuthenticationResult = await authenticationContext.AcquireTokenAsync(resourceUrl, clientID, credential) Using (var client = new PowerBIClient(new Uri(apiUrl), tokenCredentials))ĮmbedToken embedToken = (groupId, reportID, new GenerateTokenRequest(accessLevel: "View")) ReportEmbed myReport = new ReportEmbed() Following the guide, I created these methods on my controller: public ActionResult Report()Ĭredential = new UserCredential(username, passwordPowerBI) I want to embed a power BI report in a partial view.
0 Comments
Leave a Reply. |