Skip to content

Commit 86ee547

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Added uninstall step first
1 parent 27a3bb3 commit 86ee547

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

azure-pipelines/update-template.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ steps:
55
targetType: 'inline'
66
pwsh: true
77
script: |
8+
Uninstall-Module Microsoft.Graph -Force -AllVersions -ErrorAction SilentlyContinue
9+
Uninstall-Module Microsoft.Graph.Beta -Force -AllVersions -ErrorAction SilentlyContinue
810
try{
911
# Try to update the V1 module first.
1012
Install-Module Microsoft.Graph.Beta -Repository PSGallery -Scope AllUsers -AcceptLicense -SkipPublisherCheck -Force -AllowClobber

0 commit comments

Comments
 (0)