Skip to content
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

Installation fails with 1.23.913.1 #3685

Closed
fraserdarwent opened this issue Sep 14, 2023 · 1 comment · Fixed by #3686
Closed

Installation fails with 1.23.913.1 #3685

fraserdarwent opened this issue Sep 14, 2023 · 1 comment · Fixed by #3686
Assignees
Labels
Bug Something isn't working Core Engine

Comments

@fraserdarwent
Copy link

fraserdarwent commented Sep 14, 2023

Description of the issue

Attempting to install the latest version leads to an error.
Commands:

Install-Module Microsoft365DSC -Force
Update-M365DSCModule

Output:

Installing DSCParser version {1.3.0.10}
Installing ExchangeOnlineManagement version {3.3.0}
Installing Microsoft.Graph.Beta.DeviceManagement version {2.5.0}
Installing Microsoft.Graph.Beta.Devices.CorporateManagement version {2.5.0}
Installing Microsoft.Graph.Beta.DeviceManagement.Administration version {2.5.0}
Installing Microsoft.Graph.Beta.DeviceManagement.Enrollment version {2.5.0}
Installing Microsoft.Graph.Beta.Identity.DirectoryManagement version {2.5.0}
Installing Microsoft.Graph.Beta.Identity.Governance version {2.5.0}
Installing Microsoft.Graph.Beta.Identity.SignIns version {2.5.0}
Installing Microsoft.Graph.Beta.Reports version {2.5.0}
Installing Microsoft.Graph.Beta.Teams version {2.5.0}
Installing Microsoft.Graph.Beta.DirectoryObjects version {2.5.0}
Installing Microsoft.PowerApps.Administration.PowerShell version {2.0.174}
Installing MicrosoftTeams version {5.5.0}
Installing MSCloudLoginAssistant version {1.0.120}
Installing PnP.PowerShell version {1.12.0}
Installing ReverseDSC version {2.0.0.18}
Uninstall-M365DSCOutdatedDependencies : The term 'catch' is not recognized as the name of a cmdlet, function, script 
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct 
and try again.
At C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.23.913.1\modules\M365DSCUtil.psm1:4135 char:5
+     Uninstall-M365DSCOutdatedDependencies
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Uninstall-M365DSCOutdatedDependencies

Pinning to previous version completes.
Commands:

Install-Module Microsoft365DSC -RequiredVersion 1.23.906.1 -Force
Update-M365DSCModule

Output:

Installing DSCParser version {1.3.0.10}
Installing ExchangeOnlineManagement version {3.2.0}
Installing Microsoft.Graph.Beta.DeviceManagement version {2.4.0}
Installing Microsoft.Graph.Beta.Devices.CorporateManagement version {2.4.0}
Installing Microsoft.Graph.Beta.DeviceManagement.Administration version {2.4.0}
Installing Microsoft.Graph.Beta.DeviceManagement.Enrollment version {2.4.0}
Installing Microsoft.Graph.Beta.Identity.DirectoryManagement version {2.4.0}
Installing Microsoft.Graph.Beta.Identity.Governance version {2.4.0}
Installing Microsoft.Graph.Beta.Identity.SignIns version {2.4.0}
Installing Microsoft.Graph.Beta.Teams version {2.4.0}
Installing Microsoft.Graph.Beta.DirectoryObjects version {2.4.0}
Installing Microsoft.PowerApps.Administration.PowerShell version {2.0.174}
Installing MicrosoftTeams version {5.5.0}
Installing MSCloudLoginAssistant version {1.0.120}
Installing PnP.PowerShell version {1.12.0}
Installing ReverseDSC version {2.0.0.18}
Checking Microsoft.Graph.Authentication
Finishing: Install PowerShell Modules

Microsoft 365 DSC Version

1.23.913.1

Which workloads are affected

other

The DSC configuration

No response

Verbose logs showing the problem

No response

Environment Information + PowerShell Version

Azure DevOps Windows agent: vmImage: windows-latest

Key   : PSVersion
Value : 5.1.20348.1850
Name  : PSVersion


Key   : PSEdition
Value : Desktop
Name  : PSEdition


Key   : PSCompatibleVersions
Value : {1.0, 2.0, 3.0, 4.0...}
Name  : PSCompatibleVersions


Key   : BuildVersion
Value : 10.0.20348.1850
Name  : BuildVersion


Key   : CLRVersion
Value : 4.0.30319.42000
Name  : CLRVersion


Key   : WSManStackVersion
Value : 3.0
Name  : WSManStackVersion


Key   : PSRemotingProtocolVersion
Value : 2.3
Name  : PSRemotingProtocolVersion


Key   : SerializationVersion
Value : 1.1.0.1
Name  : SerializationVersion
@andikrueger
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Core Engine
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants