Share via

Install-Package: Package 'Microsoft.Graph.Authentication' failed to be installed because: End of Central Directory record could not be found.

Prakash Kumar Singh 90 Reputation points
2025-02-06T13:22:54.5433333+00:00

Hi,

I am trying to install Microsoft Graph PowerShell using below command:

Install-Module Microsoft.Graph -Scope CurrentUser -Verbose

But getting error:

Install-Package: Package 'Microsoft.Graph.Authentication' failed to be installed because: End of Central Directory record could not be found.

VERBOSE: Hash for package 'Microsoft.Graph.Authentication' does not match hash provided from the server.

VERBOSE: InstallPackageLocal' - name='Microsoft.Graph.Authentication', version='2.25.0',destination='C:\Users\username\AppData\Local\Temp\1487847741'

Need help on this.

Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Most helpful
  1. Prakash Kumar Singh 90 Reputation points
    2025-04-14T18:16:49.33+00:00

    My issue resolved, one download URL was blocked due to that getting error.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.