Skip to content

Could not acquire access to file at 'C:\WINDOWS\system32\config\systemprofile\.graph\GraphContext.json'. Please ensure you have access to this file and try again in a few minutes. #888

@NikCharlebois

Description

@NikCharlebois

Microsoft365DSC delegates the authentication to the MSCloudLoginAssistn module. When this one tries to call connect-mggraph, if we are already connected it throws the following error:

Could not acquire access to file at 'C:\WINDOWS\system32\config\systemprofile.graph\GraphContext.json'. Please ensure you have access to this file and try again in a few minutes.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions