Forum Discussion

saadashraf's avatar
saadashraf
Helper I
5 years ago

Trying to Create new report using PowerBIToken.CreateReportEmbedTokenForCreation()

I am trying to create a new report using .net core.

the code is breaking at embedToken.Generate.

 

the error i am having is : "System.IO.FileNotFoundException: Could not load file or assembly 'System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.\r\nFile name: 'System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'"

 

 

Need help.

 

 

1 Reply

  • Did you ever solve this issue? I'm hitting exactly the same roadblock now. I definitely have System.Identity.Tokens package installed so I'm not sure whats going on