Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Power BI app setup (help needed) #38

Open
QCR615 opened this issue Dec 1, 2016 · 1 comment
Open

Power BI app setup (help needed) #38

QCR615 opened this issue Dec 1, 2016 · 1 comment

Comments

@QCR615
Copy link

QCR615 commented Dec 1, 2016

Hi, I am new with to Azure and .Net framework and following this link to setup the app on Azure:
https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-get-started-sample
While setting up power bi app I am getting below error:
-Package Manager Console: upadate-package ProvisionSample
Install-Package : Could not install package 'System.IdentityModel.Tokens.Jwt 5.0.0'. You are trying to install this
package into a project that targets '.NETFramework,Version=v4.5', but the package does not contain any assembly
references or content files that are compatible with that framework. For more information, contact the package author.At
line:1 char:1

  • Install-Package System.IdentityModel.Tokens.Jwt -Version 5.0.0
  •   + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
      + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
    

-Build Solution error:
Error 1 'Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext' does not contain a definition for 'AcquireTokenByRefreshTokenAsync' and no extension method 'AcquireTokenByRefreshTokenAsync' accepting a first argument of type 'Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext' could be found (are you missing a using directive or an assembly reference?) C:\Users\pateln\Downloads\PowerBI Integration Azure\ProvisionSample\Program.cs 697 44 ProvisionSample
Thanks,

@conkonig
Copy link

I am having this exact same error, can not get the project solution to build at all

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants