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
115 stars 54 forks source link

Error in Task "Set Online Instance Admin Mode" #295

Open AlGu1 opened 9 months ago

AlGu1 commented 9 months ago

Hi, when I try to use the "Set Admin Mode" task, I get the following error message:

"Cannot process argument transformation on parameter 'AllowBackgroundOperations'. Cannot convert value "" to type "System.Boolean". Boolean parameters accept only Boolean values and numbers, such as $True, $False, 1 or 0."

I think it is because the parameter "AllowBackgroundOperations" is no longer included in the PS script ("BuildTools/Xrm.CI.Framework.BuildTools/Tasks/MSCRMSetOnlineInstanceAdminMode/MSCRMSetOnlineInstanceAdminMode.ps1"). But it is used in the call in line 68.

Can you please check this? Thanks and greetings Alex