WaelHamze / dyn365-ce-vsts-tasks

VSTS Extension for Dynamics 365 Customer Engagement
https://marketplace.visualstudio.com/items?itemName=WaelHamze.xrm-ci-framework-build-tasks
GNU General Public License v3.0
117 stars 56 forks source link

Share Flows Task Fails #283

Open medicineshow opened 1 year ago

medicineshow commented 1 year ago

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

WaelHamze commented 1 year ago

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

medicineshow commented 1 year ago

Private

medicineshow commented 1 year ago

Any update for this?