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

Prakash Kumar Singh 40 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 Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,302 questions
0 comments No comments
{count} votes

Your answer

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