-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update-M365DSCModule fails to update Microsoft365DSC to the latest version #5604
Comments
Hi @rick-engle. Please try the following steps. Update-Module Microsoft365DSC |
@rick-engle Seems like Microsoft365DSC is installed in the current user session. Please run the command in an elevated prompt and try again. You might need to first uninstall it before it can be installed with the elevated prompt. @CovidtheDog2024 |
@FabienTschanz I'm already running PowerShell ISE as an elevated process. What is the proper way to uninstall Microsoft365DSC? This command does not work: PackageManagement\Uninstall-Package : No match was found for the specified search criteria and module names 'Microsoft365DSC'. |
@rick-engle Try to uninstall it from a standard PowerShell session and the installation from an elevated one. Otherwise, simply delete the directory in your Documents folder (that's ultimately what |
Description of the issue
I am on version 1.24.1211.1 and want to upgrade to the latest release, 1.24.1218.1. But the update seems to terminate in the process.
Get-Module Microsoft365DSC -ListAvailable | Select-Object ModuleBase, Version
ModuleBase Version
C:\Users\ricke\Documents\WindowsPowerShell\Modules\Microsoft365DSC\1.24.1211.1 1.24.1211.1
PS C:\WINDOWS\system32> Update-M365DSCModule
Checking Microsoft.Graph.Authentication
That is as far as it gets. And the version is NOT updated.
Microsoft 365 DSC Version
1.24.1211.1
Which workloads are affected
Security & Compliance Center
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: