Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
markefrody
Post Patron
Post Patron

Unable to Open Power BI Desktop

Hi, 

 

When I try to open Power BI Desktop the below error details appear. Not sure why this error is showing, a day before everything is working. Anybody can help me with this? 

 

ERROR DETAILS:

Feedback Type:
Frown (Error)

Timestamp:
2024-10-27T11:25:22.9976714Z

Local Time:
2024-10-27T19:25:22.9976714+08:00

Session ID:
fa5e53d7-289a-498b-a303-6519b893866f

Release:
October 2024

Product Version:
2.137.952.0 (24.10) (x64)

Error Message:
Resolution of the dependency failed, type = "Microsoft.PowerBI.Client.Windows.Services.IFileOperationUIHandler", name = "(none)".
Exception occurred while: Calling constructor Microsoft.PowerBI.Client.Windows.GraphService.GraphServiceClient(Microsoft.PowerBI.Client.Windows.PowerBIService.ICloudConfigurationManager cloudConfigurationManager, Microsoft.PowerBI.Client.Windows.Authentication.IAccessTokenProvider accessTokenProvider, Microsoft.PowerBI.Client.Windows.Services.IPowerBITelemetryService telemetryService, Microsoft.PowerBI.Client.Windows.Services.IEventAggregationService eventAggregationService, Microsoft.PowerBI.Client.Windows.PowerBIService.IAuthenticationManager authenticationManager, Microsoft.PowerBI.Client.Windows.GraphService.IGraphServiceClientFactory graphServiceClientFactory).
Exception is: FileNotFoundException - Could not load file or assembly 'Microsoft.Graph, Version=4.15.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
-----------------------------------------------
At the time of the exception, the container was:

Resolving Microsoft.PowerBI.Client.Windows.Services.FileOperationUIHandler,(none) (mapped from Microsoft.PowerBI.Client.Windows.Services.IFileOperationUIHandler, (none))
Resolving parameter "graphServiceClient" of constructor Microsoft.PowerBI.Client.Windows.Services.FileOperationUIHandler(Microsoft.PowerBI.Client.Windows.Services.IEventAggregationService eventAggregationService, Microsoft.PowerBI.Client.Windows.Services.ICurrentArtifactManager currentArtifactManager, Microsoft.PowerBI.Client.Windows.SSRSService.ISSRSServiceClient ssrsServiceClient, Microsoft.PowerBI.Client.Windows.IPowerBIStringProvider stringProvider, Microsoft.PowerBI.Client.Windows.Telemetry.ITelemetryContextProvider telemetryContextProvider, Microsoft.PowerBI.Client.Windows.Services.IPowerBITelemetryService telemetryService, Microsoft.PowerBI.Client.Windows.Services.IReportManager reportManager, Microsoft.PowerBI.Client.Windows.Services.IFileHistoryManager fileHistoryManager, Microsoft.PowerBI.Client.Windows.Services.ILocationHistoryManager locationHistoryManager, Microsoft.PowerBI.Client.Windows.QueryFolding.IFoldedArtifactsGenerator foldedArtifactsGenerator, Microsoft.Mashup.Client.UI.Shared.ILegacyUIHost uiHost, Microsoft.PowerBI.Client.Windows.Services.IPowerBIWindowServiceFactory windowServiceFactory, Microsoft.PowerBI.Client.Windows.Services.IUIBlockingService uiBlockingService, Microsoft.PowerBI.Client.Windows.Eim.InformationProtection.IInformationProtectionManager informationProtectionManager, Microsoft.PowerBI.Client.Windows.Eim.InformationProtection.IFileInformationProtectionManager fileInformationProtectionManager, Microsoft.PowerBI.Client.Windows.GraphService.IGraphServiceClient graphServiceClient, Microsoft.PowerBI.Client.Windows.GraphService.IOdspCertifiedEventsService odspCertifiedEventsService, Microsoft.PowerBI.Client.Windows.Services.IMinervaModalDialogManager minervaModalDialogManager, Microsoft.PowerBI.Client.Windows.IUrlOpener urlOpener, Microsoft.PowerBI.Client.Shared.IPowerBIUserSettings userSettings, Microsoft.PowerBI.Client.Windows.IProcessCreator processCreator, Microsoft.Mashup.Host.Document.IFeatureSwitchManager featureSwitchManager, Microsoft.PowerBI.Client.Windows.Modeling.Hosting.ITelemetryServiceFactory modelingTelemetryServiceFactory)
Resolving Microsoft.PowerBI.Client.Windows.GraphService.GraphServiceClient,(none) (mapped from Microsoft.PowerBI.Client.Windows.GraphService.IGraphServiceClient, (none))
Calling constructor Microsoft.PowerBI.Client.Windows.GraphService.GraphServiceClient(Microsoft.PowerBI.Client.Windows.PowerBIService.ICloudConfigurationManager cloudConfigurationManager, Microsoft.PowerBI.Client.Windows.Authentication.IAccessTokenProvider accessTokenProvider, Microsoft.PowerBI.Client.Windows.Services.IPowerBITelemetryService telemetryService, Microsoft.PowerBI.Client.Windows.Services.IEventAggregationService eventAggregationService, Microsoft.PowerBI.Client.Windows.PowerBIService.IAuthenticationManager authenticationManager, Microsoft.PowerBI.Client.Windows.GraphService.IGraphServiceClientFactory graphServiceClientFactory)


Stack Trace:
Microsoft.Practices.Unity.ResolutionFailedException
at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides)
at Microsoft.Practices.Unity.UnityContainer.Resolve(Type t, String name, ResolverOverride[] resolverOverrides)
at Microsoft.Practices.Unity.UnityContainerExtensions.Resolve[T](IUnityContainer container, ResolverOverride[] overrides)
at Microsoft.PowerBI.Client.AppInitializer.CreateAutoRecoveryManager(DependencyInjectionService dependencyInjectionService, IPowerBIWindowService windowService, IExceptionHandler exceptionHandler)
at Microsoft.PowerBI.Client.Program.<>c__DisplayClass7_0.<RunApplicationLegacy>b__0()
at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass3_0.<HandleExceptionsWithNestedTasks>b__0()
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)

Stack Trace Message:
Resolution of the dependency failed, type = "Microsoft.PowerBI.Client.Windows.Services.IFileOperationUIHandler", name = "(none)".
Exception occurred while: Calling constructor Microsoft.PowerBI.Client.Windows.GraphService.GraphServiceClient(Microsoft.PowerBI.Client.Windows.PowerBIService.ICloudConfigurationManager cloudConfigurationManager, Microsoft.PowerBI.Client.Windows.Authentication.IAccessTokenProvider accessTokenProvider, Microsoft.PowerBI.Client.Windows.Services.IPowerBITelemetryService telemetryService, Microsoft.PowerBI.Client.Windows.Services.IEventAggregationService eventAggregationService, Microsoft.PowerBI.Client.Windows.PowerBIService.IAuthenticationManager authenticationManager, Microsoft.PowerBI.Client.Windows.GraphService.IGraphServiceClientFactory graphServiceClientFactory).
Exception is: FileNotFoundException - Could not load file or assembly 'Microsoft.Graph, Version=4.15.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
-----------------------------------------------
At the time of the exception, the container was:

Resolving Microsoft.PowerBI.Client.Windows.Services.FileOperationUIHandler,(none) (mapped from Microsoft.PowerBI.Client.Windows.Services.IFileOperationUIHandler, (none))
Resolving parameter "graphServiceClient" of constructor Microsoft.PowerBI.Client.Windows.Services.FileOperationUIHandler(Microsoft.PowerBI.Client.Windows.Services.IEventAggregationService eventAggregationService, Microsoft.PowerBI.Client.Windows.Services.ICurrentArtifactManager currentArtifactManager, Microsoft.PowerBI.Client.Windows.SSRSService.ISSRSServiceClient ssrsServiceClient, Microsoft.PowerBI.Client.Windows.IPowerBIStringProvider stringProvider, Microsoft.PowerBI.Client.Windows.Telemetry.ITelemetryContextProvider telemetryContextProvider, Microsoft.PowerBI.Client.Windows.Services.IPowerBITelemetryService telemetryService, Microsoft.PowerBI.Client.Windows.Services.IReportManager reportManager, Microsoft.PowerBI.Client.Windows.Services.IFileHistoryManager fileHistoryManager, Microsoft.PowerBI.Client.Windows.Services.ILocationHistoryManager locationHistoryManager, Microsoft.PowerBI.Client.Windows.QueryFolding.IFoldedArtifactsGenerator foldedArtifactsGenerator, Microsoft.Mashup.Client.UI.Shared.ILegacyUIHost uiHost, Microsoft.PowerBI.Client.Windows.Services.IPowerBIWindowServiceFactory windowServiceFactory, Microsoft.PowerBI.Client.Windows.Services.IUIBlockingService uiBlockingService, Microsoft.PowerBI.Client.Windows.Eim.InformationProtection.IInformationProtectionManager informationProtectionManager, Microsoft.PowerBI.Client.Windows.Eim.InformationProtection.IFileInformationProtectionManager fileInformationProtectionManager, Microsoft.PowerBI.Client.Windows.GraphService.IGraphServiceClient graphServiceClient, Microsoft.PowerBI.Client.Windows.GraphService.IOdspCertifiedEventsService odspCertifiedEventsService, Microsoft.PowerBI.Client.Windows.Services.IMinervaModalDialogManager minervaModalDialogManager, Microsoft.PowerBI.Client.Windows.IUrlOpener urlOpener, Microsoft.PowerBI.Client.Shared.IPowerBIUserSettings userSettings, Microsoft.PowerBI.Client.Windows.IProcessCreator processCreator, Microsoft.Mashup.Host.Document.IFeatureSwitchManager featureSwitchManager, Microsoft.PowerBI.Client.Windows.Modeling.Hosting.ITelemetryServiceFactory modelingTelemetryServiceFactory)
Resolving Microsoft.PowerBI.Client.Windows.GraphService.GraphServiceClient,(none) (mapped from Microsoft.PowerBI.Client.Windows.GraphService.IGraphServiceClient, (none))
Calling constructor Microsoft.PowerBI.Client.Windows.GraphService.GraphServiceClient(Microsoft.PowerBI.Client.Windows.PowerBIService.ICloudConfigurationManager cloudConfigurationManager, Microsoft.PowerBI.Client.Windows.Authentication.IAccessTokenProvider accessTokenProvider, Microsoft.PowerBI.Client.Windows.Services.IPowerBITelemetryService telemetryService, Microsoft.PowerBI.Client.Windows.Services.IEventAggregationService eventAggregationService, Microsoft.PowerBI.Client.Windows.PowerBIService.IAuthenticationManager authenticationManager, Microsoft.PowerBI.Client.Windows.GraphService.IGraphServiceClientFactory graphServiceClientFactory)


Invocation Stack Trace:
at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
at Microsoft.Mashup.Client.UI.Shared.StackTraceInfo..ctor(String exceptionStackTrace, String invocationStackTrace, String exceptionMessage)
at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.GetStackTraceInfo(Exception e)
at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.<HandleException>b__0()
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.PowerBI.Client.PowerBIUnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at Microsoft.PowerBI.Client.Program.RunApplicationLegacy(String[] args)
at Microsoft.PowerBI.Client.Program.Main(String[] args)


PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.137.952.0","ModuleName":"Microsoft.PowerBI.Client.Windows.dll","Component":"Microsoft.PowerBI.Client.Windows.GraphService.GraphServiceClient","Error":"System.IO.FileNotFoundException","MethodDef":".ctor","ErrorOffset":"-1","ErrorCode":""}

InnerException0.Stack Trace Message:
Could not load file or assembly 'Microsoft.Graph, Version=4.15.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

InnerException0.Stack Trace:
at Microsoft.PowerBI.Client.Windows.GraphService.GraphServiceClient..ctor(ICloudConfigurationManager cloudConfigurationManager, IAccessTokenProvider accessTokenProvider, IPowerBITelemetryService telemetryService, IEventAggregationService eventAggregationService, IAuthenticationManager authenticationManager, IGraphServiceClientFactory graphServiceClientFactory)
at BuildUp_Microsoft.PowerBI.Client.Windows.GraphService.GraphServiceClient(IBuilderContext )
at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
at Microsoft.Practices.ObjectBuilder2.BuilderContext.NewBuildUp(NamedTypeBuildKey newBuildKey)
at BuildUp_Microsoft.PowerBI.Client.Windows.Services.FileOperationUIHandler(IBuilderContext )
at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides)

InnerException0.Invocation Stack Trace:
at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromException(Exception e, String prefix)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromInnerExceptions(Exception e, Int32 depth)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.CreateAdditionalErrorInfo(Exception e)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo..ctor(String message, Exception exception, Nullable`1 stackTraceInfo, String messageDetail)
at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.<HandleException>b__0()
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.PowerBI.Client.PowerBIUnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at Microsoft.PowerBI.Client.Program.RunApplicationLegacy(String[] args)
at Microsoft.PowerBI.Client.Program.Main(String[] args)


OS Version:
Microsoft Windows NT 10.0.19045.0 (x64 en-US)

CLR Version:
4.8 or later [Release Number = 533325]

Peak Virtual Memory:
37.6 GB

Private Memory:
234 MB

Peak Working Set:
325 MB

IE Version:
11.3636.19041.0

User ID:
9a1d4100-4be6-47a2-8b09-0f9d4905c13f

Workbook Package Info:
None

Telemetry Enabled:
True

PowerBIUserFeedbackServices_IsReported:
True

DPI Scale:
100%

Supported Services:
Power BI

2 REPLIES 2
Anonymous
Not applicable

Thanks for the reply from PavanLalwani , please allow me to add some more information
Hi  @markefrody ,

 

You can try the following:

Uninstall the Microsoft Store version of Power BI and update Power BI Desktop: Make sure you are using the latest version of Power BI Desktop. Sometimes, updating the software can resolve compatibility issues. You can download the latest version from the official Microsoft website.

Get Power BI Desktop - Power BI | Microsoft Learn

Additionally, try running Power BI Desktop as an administrator.

You can try to verify if the problem is caused by the program.

Open Windows Settings > About > Advanced system settings and select Environment Variable.

vyangliumsft_0-1730170350875.png

You can also view the following document to learn more information.

Resolve startup issues with Power BI Desktop - Power BI | Microsoft Learn

 

This is the related document, you can view this content:

Unable to Start Power BI Desktop (We weren't able ... - Microsoft Fabric Community

Solved: Unable to open PowerBI Desktop - Microsoft Fabric Community

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

PavanLalwani
Resolver II
Resolver II

The error you’re seeing in Power BI Desktop appears related to a missing or incompatible dependency on the Microsoft Graph library, which Power BI uses for certain connectivity and authorization services. Here are some steps to help resolve this:

 

  1. 1. Repair or Reinstall Power BI Desktop

   - Go to Settings > Apps > Apps & features.

   - Find Power BI Desktop, select it, and choose "Modify" to attempt a repair if available.

   - If repair is not an option or does not resolve the issue, uninstall and reinstall Power BI Desktop from the official [Microsoft Power BI site](https://powerbi.microsoft.com/downloads/).

 

  1. 2. Update .NET Framework

   - Ensure your .NET Framework is up to date, as Power BI relies on it to load dependencies.

   - Download and install the latest version of the .NET Framework from the [Microsoft .NET download page](https://dotnet.microsoft.com/download/dotnet-framework).

 

  1. 3. Clear Power BI Cache

   - Go to the following location on your computer: `C:\Users\[YourUsername]\AppData\Local\Microsoft\Power BI Desktop\`

   - Delete the contents of the Cache folder, which may contain temporary files causing conflicts.

 

  1. 4. Verify Power BI Updates

   - Sometimes new releases of Power BI may contain unpatched bugs. If the October 2024 update introduced this problem, consider rolling back to the previous version if possible, or wait for an upcoming fix.

   - To check for updates or revert, visit the Power BI version archives.

 

  1. 5. Install Microsoft Graph Manually

   - The error indicates that a required Microsoft Graph component (`Microsoft.Graph, Version=4.15.0.0`) could not be found.

   - You can try manually installing the Microsoft Graph package by downloading it through the [NuGet Gallery for Microsoft Graph](https://www.nuget.org/packages/Microsoft.Graph/) if you’re comfortable with it or reach out to your IT support for assistance.

 

  1. 6. Check Power BI Service Status

   - Occasionally, Power BI services may have temporary outages or issues that affect certain functionality. Check the [Power BI Support page](https://powerbi.microsoft.com/support/) for any service interruptions.

 

  1. 7. Contact Power BI Support

   - If these steps don’t resolve the issue, consider contacting Power BI Support with your error details, including the timestamp and session ID, which can help them diagnose the problem.

 

If this solution brightened your path or made things easier, please consider giving kudos. Your recognition not only uplifts those who helped but inspires others to keep contributing for the good of our community!

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.