dyn365-ce-vsts-tasks icon indicating copy to clipboard operation
dyn365-ce-vsts-tasks copied to clipboard

Share Flows Task Fails

Open medicineshow opened this issue 1 year ago • 3 comments

The task fails with the following error: The required module 'Microsoft.Graph.Authentication' is not loaded. Load the module or remove the module from 'RequiredModules' in the file 'C:\hostedtoolcache\windows\MSCRMBuildTools\12.0.95\Microsoft.Graph.Users.1.23.0\Microsoft.Graph.Users.psd1'.

But in the pipeline logs: 2023-04-05T09:45:36.1194912Z ##[debug]Retrieving package 'Microsoft.Graph.Authentication 1.23.0' from 'PowerShell Gallery'. 2023-04-05T09:45:36.1219035Z ##[debug]Retrieving package 'Microsoft.Graph.Users 1.23.0' from 'PowerShell Gallery'. 2023-04-05T09:45:36.1243992Z ##[debug] GET https://www.powershellgallery.com/api/v2/package/Microsoft.Graph.Users/1.23.0 2023-04-05T09:45:36.1268580Z ##[debug] GET https://www.powershellgallery.com/api/v2/package/Microsoft.Graph.Authentication/1.23.0 2023-04-05T09:45:36.1292457Z ##[debug] OK https://www.powershellgallery.com/api/v2/package/Microsoft.Graph.Users/1.23.0 210ms 2023-04-05T09:45:36.1316421Z ##[debug]Installing Microsoft.Graph.Users 1.23.0. 2023-04-05T09:45:36.1340707Z ##[debug] OK https://www.powershellgallery.com/api/v2/package/Microsoft.Graph.Authentication/1.23.0 422ms 2023-04-05T09:45:36.1369245Z ##[debug]Installing Microsoft.Graph.Authentication 1.23.0. 2023-04-05T09:45:36.1384700Z ##[debug]Adding package 'Microsoft.Graph.Authentication.1.23.0' to folder 'C:\hostedtoolcache\windows\MSCRMBuildTools\12.0.95' 2023-04-05T09:45:36.1408819Z ##[debug]Added package 'Microsoft.Graph.Authentication.1.23.0' to folder 'C:\hostedtoolcache\windows\MSCRMBuildTools\12.0.95' 2023-04-05T09:45:36.1432765Z ##[debug]Successfully installed 'Microsoft.Graph.Authentication 1.23.0' to C:\hostedtoolcache\windows\MSCRMBuildTools\12.0.95

medicineshow avatar Apr 05 '23 09:04 medicineshow

@medicineshow are you running on a private or hosted agent?

WaelHamze avatar Apr 10 '23 16:04 WaelHamze

Private

medicineshow avatar Apr 11 '23 09:04 medicineshow

Any update for this?

medicineshow avatar Aug 22 '23 15:08 medicineshow