HodorNV / ALOps

ALOps
59 stars 24 forks source link

Error: Rename-Item : Remove-Item : Windows PowerShell is in NonInteractive mode. Read and Prompt functionality is not available. #632

Closed epernst closed 9 months ago

epernst commented 1 year ago

When compiling with the compile version 2, we are occasionally getting this error:

##[debug]Leaving C:\a\_tasks\ALOpsAppCompiler_6ccb97e4-cd3b-4f5c-82d0-3b733949d45d\2.0.3607\e08442a7-95ad-45ca-8e1a-da495aa4cf42.ps1.
##[debug]Caught exception from task script.
##[debug]Error record:
##[debug]Remove-Item : Windows PowerShell is in NonInteractive mode. Read and Prompt functionality is not available.
##[debug]At C:\a\_tasks\ALOpsAppCompiler_6ccb97e4-cd3b-4f5c-82d0-3b733949d45d\2.0.3607\ps_modules\AppCompiler\73c7ca7d-fd5a-4c93-9199-940c71d1decb.ps1:536 char:13
##[debug]+             Remove-Item -Path $TempExtractFolder -Confirm:$false -For ...
##[debug]+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
##[debug]    + CategoryInfo          : InvalidOperation: (:) [Remove-Item], PSInvalidOperationException
##[debug]    + FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.RemoveItemCommand
##[debug] 
##[debug]Script stack trace:
##[debug]at New-ALOpsV2Compilation, C:\a\_tasks\ALOpsAppCompiler_6ccb97e4-cd3b-4f5c-82d0-3b733949d45d\2.0.3607\ps_modules\AppCompiler\73c7ca7d-fd5a-4c93-9199-940c71d1decb.ps1: line 536
##[debug]at Run-ALOpsAppCompilerV2Step, C:\a\_tasks\ALOpsAppCompiler_6ccb97e4-cd3b-4f5c-82d0-3b733949d45d\2.0.3607\ps_modules\AppCompiler\a2403f20-84ab-4287-9a21-0216731edc63.ps1: line 176
##[debug]at <ScriptBlock>, C:\a\_tasks\ALOpsAppCompiler_6ccb97e4-cd3b-4f5c-82d0-3b733949d45d\2.0.3607\e08442a7-95ad-45ca-8e1a-da495aa4cf42.ps1: line 171
##[debug]at <ScriptBlock>, C:\a\_tasks\ALOpsAppCompiler_6ccb97e4-cd3b-4f5c-82d0-3b733949d45d\2.0.3607\0cfb4a75-0b33-4317-b4b8-f0b92891f74a.ps1: line 1
##[debug]at <ScriptBlock>, <No file>: line 1
##[debug]at <ScriptBlock>, <No file>: line 22
##[debug]at <ScriptBlock>, <No file>: line 18
##[debug]at <ScriptBlock>, <No file>: line 1
##[debug]Exception:
##[debug]System.Management.Automation.PSInvalidOperationException: Windows PowerShell is in NonInteractive mode. Read and Prompt functionality is not available.
##[debug]   at Microsoft.PowerShell.ConsoleHostUserInterface.HandleThrowOnReadAndPrompt()
##[debug]   at Microsoft.PowerShell.ConsoleHostUserInterface.PromptForChoice(String caption, String message, Collection`1 choices, Int32 defaultChoice)
##[debug]   at System.Management.Automation.Internal.Host.InternalHostUserInterface.PromptForChoice(String caption, String message, Collection`1 choices, Int32 defaultChoice)
##[debug]   at System.Management.Automation.MshCommandRuntime.InquireHelper(String inquireMessage, String inquireCaption, Boolean allowYesToAll, Boolean allowNoToAll, Boolean replaceNoWithHalt, Boolean hasSecurityImpact)
##[debug]   at System.Management.Automation.MshCommandRuntime.DoShouldContinue(String query, String caption, Boolean hasSecurityImpact, Boolean supportsToAllOptions, Boolean& yesToAll, Boolean& noToAll)
##[debug]   at System.Management.Automation.MshCommandRuntime.ShouldContinue(String query, String caption, Boolean& yesToAll, Boolean& noToAll)
##[debug]   at System.Management.Automation.Cmdlet.ShouldContinue(String query, String caption, Boolean& yesToAll, Boolean& noToAll)
##[debug]   at Microsoft.PowerShell.Commands.RemoveItemCommand.ProcessRecord()
##[debug]   at System.Management.Automation.CommandProcessor.ProcessRecord()
##[error]Windows PowerShell is in NonInteractive mode. Read and Prompt functionality is not available.

I normally fix this error by adding -confirm:$false - but I can see that you already do that.

epernst commented 1 year ago

It was an occasional error, but since the last 30 minutes it happens on all builds. No pipelines are currently running. Please help!

waldo1001 commented 1 year ago

Please provide the input that we ask for:

also try without debug-mode.

Is there anything that has changed on your devops agent?

epernst commented 1 year ago

The error is now gone again! Same agents, same pipelines, no changes on our end.

The only change I can see has happened, is that BcContainerHelper has been updated to version 5.0.0 today.

waldo1001 commented 1 year ago

BCCH doesn't have anything to do with CompilerV2, except the part to "download artifacts". But therefor, I'd need the full output.

Sorry this is happening to you - it seems to be on the end of the agent. Were there windows updates by any chance?

In any case - do know we can offer you an Agent Service ;-).

epernst commented 1 year ago

Nothing else changed. In many situations it happens with the same agent that previously ran ok.

I'm only able to see a small part of the code line with the error (Remove-Item -Path $TempExtractFolder -Confirm:$false -For). And since I'm not able to login to our build agents directly, then I cannot see the actual code.

But I assume you do something like Remove-Item -Path $TempExtractFolder -Confirm:$false -Force But do you also have a -Recurse? The error in question is known when removing a folder content. https://stackoverflow.com/questions/38334539/force-not-working-in-non-interactive-mode

waldo1001 commented 1 year ago

If you send us the full extract, we'll have a look..

epernst commented 1 year ago

The full extract as in the full log? If yes, then it comes here including tracestack:

_023-05-09T15:39:57.7464099Z ##[debug]Evaluating condition for step: 'Compile and validate DBC Data Distribution'
2023-05-09T15:39:57.7465375Z ##[debug]Evaluating: SucceededNode()
2023-05-09T15:39:57.7465602Z ##[debug]Evaluating SucceededNode:
2023-05-09T15:39:57.7466032Z ##[debug]=> True
2023-05-09T15:39:57.7466307Z ##[debug]Result: True
2023-05-09T15:39:57.7466588Z ##[section]Starting: Compile and validate DBC Data Distribution
2023-05-09T15:39:57.7620176Z ==============================================================================
2023-05-09T15:39:57.7620352Z Task         : ALOps App Compiler
2023-05-09T15:39:57.7620422Z Description  : Compile AL Extension(s) for Business Central
2023-05-09T15:39:57.7620514Z Version      : 2.0.3607
2023-05-09T15:39:57.7620574Z Author       : Hodor
2023-05-09T15:39:57.7620633Z Help         : Compile Business Central extension(s) from AL code.
2023-05-09T15:39:57.7620906Z ==============================================================================
2023-05-09T15:39:58.7282086Z ##[debug]VstsTaskSdk 0.11.0 commit 7ff27a3e0bdd6f7b06690ae5f5b63cb84d0f23f4
2023-05-09T15:39:59.0042945Z ##[debug]Entering C:\a\_tasks\ALOpsAppCompiler_6ccb97e4-cd3b-4f5c-82d0-3b733949d45d\2.0.3607\e08442a7-95ad-45ca-8e1a-da495aa4cf42.ps1.
2023-05-09T15:39:59.0148842Z ******************************************************************************
2023-05-09T15:39:59.0165306Z *** ALOps v2 - Preview                                                     ***
2023-05-09T15:39:59.0180843Z ******************************************************************************
2023-05-09T15:39:59.0432409Z ##[debug]INPUT_SASTOKEN (empty)
2023-05-09T15:39:59.0502325Z ##[debug]Processed: ##vso[task.setvariable variable=sastoken_secret;issecret=true]
2023-05-09T15:39:59.0508804Z *** Importing required ALOps-Functions
2023-05-09T15:39:59.1415088Z ##[debug]INPUT_ARTIFACTVERSION: '14.44.49619.0'
2023-05-09T15:39:59.1532765Z ##[debug]INPUT_ARTIFACTTYPE: 'OnPrem'
2023-05-09T15:39:59.1595042Z ##[debug]INPUT_ARTIFACTCOUNTRY: 'w1'
2023-05-09T15:39:59.1652695Z ##[debug]INPUT_VERSIONSELECT: 'Latest'
2023-05-09T15:39:59.1713104Z ##[debug]INPUT_ALTERNATIVEVSIXURL (empty)
2023-05-09T15:39:59.1770458Z ##[debug]INPUT_ALSOURCEPATH: 'C:\a\10\s\Apps\DataDistribution'
2023-05-09T15:39:59.1831580Z ##[debug]INPUT_RULESET: 'C:\a\10\s\Apps\DataDistribution\rules\general.ruleset.json'
2023-05-09T15:39:59.1900785Z ##[debug]INPUT_SUPPRESSWARNINGS: 'KEEP'
2023-05-09T15:39:59.1982867Z ##[debug]INPUT_APPVERSIONTEMPLATE: '0.1.2.*'
2023-05-09T15:39:59.2046534Z ##[debug]INPUT_UPDATEBUILDNUMBER: 'false'
2023-05-09T15:39:59.2111892Z ##[debug] Converted to bool: False
2023-05-09T15:39:59.2171516Z ##[debug]INPUT_APPFILENAMETEMPLATE: '%APP_PUBLISHER%_%APP_NAME%_%APP_VERSION%_%BC_TYPE%_%BC_VERSION%_%BC_COUNTRY%.app'
2023-05-09T15:39:59.2229974Z ##[debug]INPUT_ALCODEANALYZER: 'CodeCop,AppSourceCop,UICop,PerTenantExtensionCop,BusinessCentral.LinterCop.dll'
2023-05-09T15:39:59.2286366Z ##[debug]INPUT_IGNOREPRAGMAS (empty)
2023-05-09T15:39:59.2354425Z ##[debug]INPUT_ENABLE_EXTERNAL_RULESETS: 'false'
2023-05-09T15:39:59.2398093Z ##[debug] Converted to bool: False
2023-05-09T15:39:59.2458071Z ##[debug]INPUT_SHOWMYCODE: 'Keep'
2023-05-09T15:39:59.3381373Z ##[debug]INPUT_RESOURCEEXPOSUREPOLICY_ALLOWDEBUGGING: 'Keep'
2023-05-09T15:39:59.3442100Z ##[debug]INPUT_RESOURCEEXPOSUREPOLICY_ALLOWDOWNLOADINGSOURCE: 'Keep'
2023-05-09T15:39:59.3511992Z ##[debug]INPUT_RESOURCEEXPOSUREPOLICY_INCLUDESOURCEINSYMBOLFILE: 'Keep'
2023-05-09T15:39:59.3571517Z ##[debug]INPUT_INTERNALSVISIBLETO: 'Keep'
2023-05-09T15:39:59.3625807Z ##[debug]INPUT_PREPROCESSORSYMBOLS (empty)
2023-05-09T15:39:59.3681967Z ##[debug]INPUT_APPLICATIONINSIGHTSKEY (empty)
2023-05-09T15:39:59.3754262Z ##[debug]INPUT_ALCACHEPATH: 'C:\a\10\s\.alPackages'
2023-05-09T15:39:59.3822120Z ##[debug]INPUT_PUBLISHARTIFACT: 'false'
2023-05-09T15:39:59.3866200Z ##[debug] Converted to bool: False
2023-05-09T15:39:59.3917754Z ##[debug]INPUT_PUBLISHXLIF: 'false'
2023-05-09T15:39:59.3954319Z ##[debug] Converted to bool: False
2023-05-09T15:39:59.4003878Z ##[debug]INPUT_FAILONWARNINGS: 'false'
2023-05-09T15:39:59.4249699Z ##[debug] Converted to bool: False
2023-05-09T15:39:59.4300580Z ##[debug]INPUT_STORAGEACCOUNT (empty)
2023-05-09T15:39:59.4365232Z ##[debug]INPUT_SASTOKEN (empty)
2023-05-09T15:39:59.4420346Z ##[debug]INPUT_PRINTAPPMANIFEST: 'true'
2023-05-09T15:39:59.4459823Z ##[debug] Converted to bool: True
2023-05-09T15:39:59.4514393Z ##[debug]INPUT_OUTPUTALCLOGS: 'true'
2023-05-09T15:39:59.4568076Z ##[debug] Converted to bool: True
2023-05-09T15:39:59.4631530Z ##[debug]INPUT_ADDITIONALPROBINGPATHS (empty)
2023-05-09T15:39:59.4704496Z *** Task Inputs:
2023-05-09T15:39:59.4818073Z 
2023-05-09T15:39:59.5021819Z name                                             value                                                                 
2023-05-09T15:39:59.5027390Z ----                                             -----                                                                 
2023-05-09T15:39:59.5030959Z artifactversion                                  14.44.49619.0                                                         
2023-05-09T15:39:59.5034316Z artifacttype                                     OnPrem                                                                
2023-05-09T15:39:59.5037671Z artifactcountry                                  w1                                                                    
2023-05-09T15:39:59.5041076Z versionselect                                    Latest                                                                
2023-05-09T15:39:59.5044519Z alternativevsixurl                                                                                                     
2023-05-09T15:39:59.5047873Z alsourcepath                                     C:\a\10\s\Apps\DataDistribution                                       
2023-05-09T15:39:59.5051305Z ruleset                                          C:\a\10\s\Apps\DataDistribution\rules\general.ruleset.json            
2023-05-09T15:39:59.5054759Z suppresswarnings                                 KEEP                                                                  
2023-05-09T15:39:59.5058260Z appversiontemplate                               0.1.2.*                                                               
2023-05-09T15:39:59.5061705Z updatebuildnumber                                False                                                                 
2023-05-09T15:39:59.5103056Z appfilenametemplate                              %APP_PUBLISHER%_%APP_NAME%_%APP_VERSION%_%BC_TYPE%_%BC_VERSION%_%BC...
2023-05-09T15:39:59.5160346Z alcodeanalyzer                                   CodeCop,AppSourceCop,UICop,PerTenantExtensionCop,BusinessCentral.Li...
2023-05-09T15:39:59.5163775Z ignorepragmas                                                                                                          
2023-05-09T15:39:59.5167789Z enable_external_rulesets                         False                                                                 
2023-05-09T15:39:59.5171765Z showmycode                                       Keep                                                                  
2023-05-09T15:39:59.5175448Z resourceexposurepolicy_allowdebugging            Keep                                                                  
2023-05-09T15:39:59.5179203Z resourceexposurepolicy_allowdownloadingsource    Keep                                                                  
2023-05-09T15:39:59.5182977Z resourceexposurepolicy_includesourceinsymbolfile Keep                                                                  
2023-05-09T15:39:59.5186983Z internalsvisibleto                               Keep                                                                  
2023-05-09T15:39:59.5190555Z preprocessorsymbols                                                                                                    
2023-05-09T15:39:59.5194515Z applicationinsightskey                                                                                                 
2023-05-09T15:39:59.5198986Z alcachepath                                      C:\a\10\s\.alPackages                                                 
2023-05-09T15:39:59.5202740Z publishartifact                                  False                                                                 
2023-05-09T15:39:59.5206129Z publishxlif                                      False                                                                 
2023-05-09T15:39:59.5209591Z failonwarnings                                   False                                                                 
2023-05-09T15:39:59.5212943Z storageaccount                                                                                                         
2023-05-09T15:39:59.5216291Z sastoken                                                                                                               
2023-05-09T15:39:59.5220486Z printappmanifest                                 True                                                                  
2023-05-09T15:39:59.5223802Z outputalclogs                                    True                                                                  
2023-05-09T15:39:59.5227213Z additionalprobingpaths                                                                                                 
2023-05-09T15:39:59.5227479Z 
2023-05-09T15:39:59.5259796Z 
2023-05-09T15:39:59.5277073Z 
2023-05-09T15:39:59.5412680Z ##[debug]ALOPS-LICENSEID (empty)
2023-05-09T15:39:59.5593895Z ##[debug]ALOPS_LICENSEID (empty)
2023-05-09T15:39:59.5784173Z 
2023-05-09T15:39:59.5803093Z *** No ALOps License found. Set License with the [alops-licenseid] or [alops_licenseid] variables.
2023-05-09T15:39:59.5818778Z *** To acquire a license, please visit: https://www.alops.be/getlicense
2023-05-09T15:39:59.5835300Z *** For pricing options, please visit : https://www.alops.be/pricing
2023-05-09T15:39:59.5851860Z *** For documentation, please visit   : https://www.alops.be/documentation
2023-05-09T15:39:59.5859949Z 
2023-05-09T15:39:59.6778898Z ##[debug]POST https://alopsapi.azurewebsites.net/api/interactions/license/4904e776-1a56-4eea-b814-425d1ef12f7a/91313e1b-dc12-4bc3-bc83-890f48c2e9ae/ with -1-byte payload
2023-05-09T15:39:59.9026541Z ##[debug]received 349-byte response of content type application/json; charset=utf-8
2023-05-09T15:39:59.9149942Z *** ALOps License:
2023-05-09T15:39:59.9183394Z   * Trial Key  : 4904e776-1a56-4eea-b814-425d1ef12f7a
2023-05-09T15:39:59.9219958Z   * Licensed To: ALOps Trial [30/31] days remaining. Trial ends: Friday, 09 June 2023
2023-05-09T15:39:59.9228163Z 
2023-05-09T15:39:59.9340366Z ##[debug]ALOPS_DISABLE_SSL (empty)
2023-05-09T15:39:59.9378141Z ##[debug] Converted to bool: False
2023-05-09T15:40:00.0400227Z *** Importing required Task-Functions
2023-05-09T15:40:00.1272511Z 
2023-05-09T15:40:00.1331641Z ##[debug]INPUT_ARTIFACTVERSION: '14.44.49619.0'
2023-05-09T15:40:00.1380122Z ##[debug]INPUT_ARTIFACTTYPE: 'OnPrem'
2023-05-09T15:40:00.1434419Z ##[debug]INPUT_ARTIFACTCOUNTRY: 'w1'
2023-05-09T15:40:00.1486187Z ##[debug]INPUT_ALSOURCEPATH: 'C:\a\10\s\Apps\DataDistribution'
2023-05-09T15:40:00.1535964Z ##[debug]INPUT_ALCACHEPATH: 'C:\a\10\s\.alPackages'
2023-05-09T15:40:00.1588296Z ##[debug]INPUT_PUBLISHARTIFACT: 'false'
2023-05-09T15:40:00.1629983Z ##[debug] Converted to bool: False
2023-05-09T15:40:00.1677115Z ##[debug]INPUT_FAILONWARNINGS: 'false'
2023-05-09T15:40:00.1717009Z ##[debug] Converted to bool: False
2023-05-09T15:40:00.1768578Z ##[debug]INPUT_ALCODEANALYZER: 'CodeCop,AppSourceCop,UICop,PerTenantExtensionCop,BusinessCentral.LinterCop.dll'
2023-05-09T15:40:00.1815487Z ##[debug]INPUT_APPVERSIONTEMPLATE: '0.1.2.*'
2023-05-09T15:40:00.1860435Z ##[debug]INPUT_STORAGEACCOUNT (empty)
2023-05-09T15:40:00.1906667Z ##[debug]INPUT_VERSIONSELECT: 'Latest'
2023-05-09T15:40:00.1951194Z ##[debug]INPUT_APPFILENAMETEMPLATE: '%APP_PUBLISHER%_%APP_NAME%_%APP_VERSION%_%BC_TYPE%_%BC_VERSION%_%BC_COUNTRY%.app'
2023-05-09T15:40:00.1994518Z ##[debug]INPUT_PUBLISHXLIF: 'false'
2023-05-09T15:40:00.2029217Z ##[debug] Converted to bool: False
2023-05-09T15:40:00.2076250Z ##[debug]INPUT_RULESET: 'C:\a\10\s\Apps\DataDistribution\rules\general.ruleset.json'
2023-05-09T15:40:00.2125060Z ##[debug]INPUT_ALTERNATIVEVSIXURL (empty)
2023-05-09T15:40:00.2167798Z ##[debug]INPUT_SHOWMYCODE: 'Keep'
2023-05-09T15:40:00.2267947Z ##[debug]INPUT_RESOURCEEXPOSUREPOLICY_ALLOWDEBUGGING: 'Keep'
2023-05-09T15:40:00.2329658Z ##[debug]INPUT_RESOURCEEXPOSUREPOLICY_ALLOWDOWNLOADINGSOURCE: 'Keep'
2023-05-09T15:40:00.2390127Z ##[debug]INPUT_RESOURCEEXPOSUREPOLICY_INCLUDESOURCEINSYMBOLFILE: 'Keep'
2023-05-09T15:40:00.2444354Z ##[debug]INPUT_INTERNALSVISIBLETO: 'Keep'
2023-05-09T15:40:00.2499158Z ##[debug]INPUT_APPLICATIONINSIGHTSKEY (empty)
2023-05-09T15:40:00.2548421Z ##[debug]INPUT_PRINTAPPMANIFEST: 'true'
2023-05-09T15:40:00.2584318Z ##[debug] Converted to bool: True
2023-05-09T15:40:00.2636578Z ##[debug]INPUT_ADDITIONALPROBINGPATHS (empty)
2023-05-09T15:40:00.2683354Z ##[debug]INPUT_OUTPUTALCLOGS: 'true'
2023-05-09T15:40:00.2723013Z ##[debug] Converted to bool: True
2023-05-09T15:40:00.2777773Z ##[debug]INPUT_UPDATEBUILDNUMBER: 'false'
2023-05-09T15:40:00.2812669Z ##[debug] Converted to bool: False
2023-05-09T15:40:00.2865967Z ##[debug]INPUT_SUPPRESSWARNINGS: 'KEEP'
2023-05-09T15:40:00.2919028Z ##[debug]INPUT_PREPROCESSORSYMBOLS (empty)
2023-05-09T15:40:00.2971271Z ##[debug]INPUT_IGNOREPRAGMAS (empty)
2023-05-09T15:40:00.3253751Z ##[debug]INPUT_ENABLE_EXTERNAL_RULESETS: 'false'
2023-05-09T15:40:00.3312543Z ##[debug] Converted to bool: False
2023-05-09T15:40:00.3351992Z *** Artifact Type   : [OnPrem]
2023-05-09T15:40:00.3375521Z *** Artifact Version: [14.44.49619.0]
2023-05-09T15:40:00.3392952Z *** Artifact Country: [w1]
2023-05-09T15:40:00.3409702Z *** AL Source Path  : [C:\a\10\s\Apps\DataDistribution]
2023-05-09T15:40:00.3424479Z *** AL Cache Path   : [C:\a\10\s\.alPackages]
2023-05-09T15:40:00.3432217Z 
2023-05-09T15:40:00.3475255Z ##[debug]*** Setting working directory to 'C:\a\10\s'.
2023-05-09T15:40:00.3541144Z 
2023-05-09T15:40:00.3888486Z *** Default Working Folder: C:\a\10\s
2023-05-09T15:40:00.3906439Z *** Artifact Folder       : C:\a\10\a
2023-05-09T15:40:00.3925625Z *** Agent Tool Folder     : C:\a\_tool
2023-05-09T15:40:00.3942512Z *** Agent Temp Folder     : C:\a\_temp
2023-05-09T15:40:00.3950752Z 
2023-05-09T15:40:00.4034368Z *** Resolving Path: [C:\a\10\s\Apps\DataDistribution]
2023-05-09T15:40:00.4116198Z *** AL Source Folder      : C:\a\10\s\Apps\DataDistribution
2023-05-09T15:40:00.4142480Z *** Resolving Path: [C:\a\10\s\.alPackages]
2023-05-09T15:40:00.4174469Z *** AL Cache Folder       : C:\a\10\s\.alPackages
2023-05-09T15:40:00.4184552Z 
2023-05-09T15:40:00.4221542Z *** Check BcContainerHelper
2023-05-09T15:40:00.4403007Z ##[debug]Populating RepositorySourceLocation property for module BcContainerHelper.
2023-05-09T15:40:00.4517915Z ##[debug]Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\5.0.0\BcContainerHelper.psm1'.
2023-05-09T15:40:00.5015477Z *** Load BcContainerHelper
2023-05-09T15:40:00.5099060Z ##[debug]Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\5.0.0\BcContainerHelper.psd1'.
2023-05-09T15:40:00.5157974Z ##[debug]Populating RepositorySourceLocation property for module BcContainerHelper.
2023-05-09T15:40:00.5219816Z ##[debug]Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\5.0.0\BcContainerHelper.psm1'.
2023-05-09T15:40:00.6383428Z BcContainerHelper version 5.0.0
2023-05-09T15:40:00.6881823Z ##[debug]
2023-05-09T15:40:00.6910645Z ##[debug]  using System.Net;
2023-05-09T15:40:00.6937218Z ##[debug] 
2023-05-09T15:40:00.6968013Z ##[debug]  public class TimeoutWebClient : WebClient
2023-05-09T15:40:00.6994662Z ##[debug]  {
2023-05-09T15:40:00.7021722Z ##[debug]        int theTimeout;
2023-05-09T15:40:00.7046902Z ##[debug]
2023-05-09T15:40:00.7070531Z ##[debug]        public TimeoutWebClient(int timeout)
2023-05-09T15:40:00.7093783Z ##[debug]        {
2023-05-09T15:40:00.7118332Z ##[debug]            theTimeout = timeout;
2023-05-09T15:40:00.7142692Z ##[debug]        }
2023-05-09T15:40:00.7169391Z ##[debug]
2023-05-09T15:40:00.7248365Z ##[debug]      protected override WebRequest GetWebRequest(System.Uri address)
2023-05-09T15:40:00.7273498Z ##[debug]      {
2023-05-09T15:40:00.7300055Z ##[debug]          WebRequest request = base.GetWebRequest(address);
2023-05-09T15:40:00.7326333Z ##[debug]          if (request != null)
2023-05-09T15:40:00.7355340Z ##[debug]          {
2023-05-09T15:40:00.7382410Z ##[debug]              request.Timeout = theTimeout;
2023-05-09T15:40:00.7408426Z ##[debug]          }
2023-05-09T15:40:00.7437446Z ##[debug]          return request;
2023-05-09T15:40:00.7465934Z ##[debug]      }
2023-05-09T15:40:00.7494947Z ##[debug]  }
2023-05-09T15:40:00.9783946Z BC.HelperFunctions emits usage statistics telemetry to Microsoft
2023-05-09T15:40:04.6494658Z ##[debug]Importing function 'Add-FontsToBcContainer'.
2023-05-09T15:40:04.6545918Z ##[debug]Importing function 'Add-GitToAlProjectFolder'.
2023-05-09T15:40:04.6589925Z ##[debug]Importing function 'AddTelemetryProperty'.
2023-05-09T15:40:04.6626693Z ##[debug]Importing function 'Backup-BcContainerDatabases'.
2023-05-09T15:40:04.6666692Z ##[debug]The 'Cancel-AppSourceSubmission' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "Stop".
2023-05-09T15:40:04.6707669Z ##[debug]Importing function 'Cancel-AppSourceSubmission'.
2023-05-09T15:40:04.6751704Z ##[debug]The 'Check-BcContainerHelperPermissions' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. For a list of approved verbs, type Get-Verb.
2023-05-09T15:40:04.6794977Z ##[debug]Importing function 'Check-BcContainerHelperPermissions'.
2023-05-09T15:40:04.6836083Z ##[debug]The 'Clean-BcContainerDatabase' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "Uninstall".
2023-05-09T15:40:04.6875036Z ##[debug]Importing function 'Clean-BcContainerDatabase'.
2023-05-09T15:40:04.6976042Z ##[debug]The 'Compile-AppInBcContainer' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. For a list of approved verbs, type Get-Verb.
2023-05-09T15:40:04.6977006Z ##[debug]Importing function 'Compile-AppInBcContainer'.
2023-05-09T15:40:04.7026576Z ##[debug]The 'Compile-AppWithBcCompilerFolder' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. For a list of approved verbs, type Get-Verb.
2023-05-09T15:40:04.7069934Z ##[debug]Importing function 'Compile-AppWithBcCompilerFolder'.
2023-05-09T15:40:04.7108766Z ##[debug]The 'Compile-ObjectsInNavContainer' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. For a list of approved verbs, type Get-Verb.
2023-05-09T15:40:04.7149344Z ##[debug]Importing function 'Compile-ObjectsInNavContainer'.
2023-05-09T15:40:04.7189901Z ##[debug]Importing function 'Convert-AlcOutputToDevOps'.
2023-05-09T15:40:04.7351784Z ##[debug]Importing function 'Convert-BcAppsToRuntimePackages'.
2023-05-09T15:40:04.7408892Z ##[debug]Importing function 'Convert-ModifiedObjectsToAl'.
2023-05-09T15:40:04.7453124Z ##[debug]Importing function 'Convert-Txt2Al'.
2023-05-09T15:40:04.7496890Z ##[debug]Importing function 'ConvertTo-HashTable'.
2023-05-09T15:40:04.7543947Z ##[debug]Importing function 'ConvertTo-OrderedDictionary'.
2023-05-09T15:40:04.7583667Z ##[debug]Importing function 'Copy-AlSourceFiles'.
2023-05-09T15:40:04.7636817Z ##[debug]Importing function 'Copy-AppFilesToCompilerFolder'.
2023-05-09T15:40:04.7678374Z ##[debug]Importing function 'Copy-BcEnvironment'.
2023-05-09T15:40:04.7722252Z ##[debug]Importing function 'Copy-BcNuGetPackageToFolder'.
2023-05-09T15:40:04.7761744Z ##[debug]Importing function 'Copy-CompanyInBcContainer'.
2023-05-09T15:40:04.7801435Z ##[debug]Importing function 'Copy-FileFromBcContainer'.
2023-05-09T15:40:04.7838912Z ##[debug]Importing function 'Copy-FileToBcContainer'.
2023-05-09T15:40:04.7883595Z ##[debug]Importing function 'Copy-ItemFromBcContainer'.
2023-05-09T15:40:04.7923748Z ##[debug]Importing function 'Copy-ItemToBcContainer'.
2023-05-09T15:40:04.7961016Z ##[debug]The 'Create-AadAppsForNav' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "New".
2023-05-09T15:40:04.8000320Z ##[debug]Importing function 'Create-AadAppsForNav'.
2023-05-09T15:40:04.8041264Z ##[debug]The 'Create-AadUsersInBcContainer' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "New".
2023-05-09T15:40:04.8079070Z ##[debug]Importing function 'Create-AadUsersInBcContainer'.
2023-05-09T15:40:04.8115384Z ##[debug]The 'Create-AlProjectFolderFromBcContainer' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "New".
2023-05-09T15:40:04.8150879Z ##[debug]Importing function 'Create-AlProjectFolderFromBcContainer'.
2023-05-09T15:40:04.8188766Z ##[debug]The 'Create-CustomTraefikImage' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "New".
2023-05-09T15:40:04.8226726Z ##[debug]Importing function 'Create-CustomTraefikImage'.
2023-05-09T15:40:04.8263432Z ##[debug]The 'Create-MyDeltaFolder' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "New".
2023-05-09T15:40:04.8300292Z ##[debug]Importing function 'Create-MyDeltaFolder'.
2023-05-09T15:40:04.8347002Z ##[debug]The 'Create-MyOriginalFolder' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "New".
2023-05-09T15:40:04.8418060Z ##[debug]Importing function 'Create-MyOriginalFolder'.
2023-05-09T15:40:04.8472664Z ##[debug]The 'Download-Artifacts' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. For a list of approved verbs, type Get-Verb.
2023-05-09T15:40:04.8525717Z ##[debug]Importing function 'Download-Artifacts'.
2023-05-09T15:40:04.8584868Z ##[debug]The 'Download-File' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. For a list of approved verbs, type Get-Verb.
2023-05-09T15:40:04.8631085Z ##[debug]Importing function 'Download-File'.
2023-05-09T15:40:04.8673686Z ##[debug]Importing function 'Enter-BcContainer'.
2023-05-09T15:40:04.8716501Z ##[debug]Importing function 'Export-BcContainerDatabasesAsBacpac'.
2023-05-09T15:40:04.8763749Z ##[debug]Importing function 'Export-ModifiedObjectsAsDeltas'.
2023-05-09T15:40:04.8805618Z ##[debug]Importing function 'Export-NavContainerObjects'.
2023-05-09T15:40:04.8843583Z ##[debug]The 'Extract-AppFileToFolder' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "Export".
2023-05-09T15:40:04.8881685Z ##[debug]Importing function 'Extract-AppFileToFolder'.
2023-05-09T15:40:04.8923501Z ##[debug]The 'Extract-FilesFromBcContainerImage' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "Export".
2023-05-09T15:40:04.8962179Z ##[debug]Importing function 'Extract-FilesFromBcContainerImage'.
2023-05-09T15:40:04.9005920Z ##[debug]The 'Extract-FilesFromStoppedBcContainer' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "Export".
2023-05-09T15:40:04.9042194Z ##[debug]Importing function 'Extract-FilesFromStoppedBcContainer'.
2023-05-09T15:40:04.9080508Z ##[debug]The 'Flush-ContainerHelperCache' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "Clear".
2023-05-09T15:40:04.9119469Z ##[debug]Importing function 'Flush-ContainerHelperCache'.
2023-05-09T15:40:04.9162886Z ##[debug]The 'Generate-SymbolsInNavContainer' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "New".
2023-05-09T15:40:04.9205521Z ##[debug]Importing function 'Generate-SymbolsInNavContainer'.
2023-05-09T15:40:04.9244189Z ##[debug]Importing function 'Get-AlLanguageExtensionFromArtifacts'.
2023-05-09T15:40:04.9279427Z ##[debug]Importing function 'Get-AppSourceProduct'.
2023-05-09T15:40:04.9322409Z ##[debug]Importing function 'Get-AppSourceSubmission'.
2023-05-09T15:40:04.9362829Z ##[debug]Importing function 'Get-AzureFeedWildcardVersion'.
2023-05-09T15:40:04.9405661Z ##[debug]Importing function 'Get-BCArtifactUrl'.
2023-05-09T15:40:04.9447784Z ##[debug]Importing function 'Get-BcAvailableRestorePeriods'.
2023-05-09T15:40:04.9489837Z ##[debug]Importing function 'Get-BcContainerApiCompanyId'.
2023-05-09T15:40:04.9527660Z ##[debug]Importing function 'Get-BcContainerApp'.
2023-05-09T15:40:04.9568608Z ##[debug]Importing function 'Get-BcContainerAppInfo'.
2023-05-09T15:40:04.9622870Z ##[debug]Importing function 'Get-BcContainerAppRuntimePackage'.
2023-05-09T15:40:04.9661015Z ##[debug]Importing function 'Get-BcContainerArtifactUrl'.
2023-05-09T15:40:04.9701084Z ##[debug]Importing function 'Get-BcContainerBcUser'.
2023-05-09T15:40:04.9737027Z ##[debug]Importing function 'Get-BcContainerCountry'.
2023-05-09T15:40:04.9785027Z ##[debug]Importing function 'Get-BcContainerDebugInfo'.
2023-05-09T15:40:04.9832112Z ##[debug]Importing function 'Get-BcContainerEula'.
2023-05-09T15:40:04.9872707Z ##[debug]Importing function 'Get-BcContainerEventLog'.
2023-05-09T15:40:04.9917832Z ##[debug]Importing function 'Get-BcContainerGenericTag'.
2023-05-09T15:40:04.9957701Z ##[debug]Importing function 'Get-BcContainerId'.
2023-05-09T15:40:04.9994245Z ##[debug]Importing function 'Get-BcContainerImageLabels'.
2023-05-09T15:40:05.0033271Z ##[debug]Importing function 'Get-BcContainerImageName'.
2023-05-09T15:40:05.0073520Z ##[debug]Importing function 'Get-BcContainerImageTags'.
2023-05-09T15:40:05.0114614Z ##[debug]Importing function 'Get-BcContainerIpAddress'.
2023-05-09T15:40:05.0150961Z ##[debug]Importing function 'Get-BcContainerLegal'.
2023-05-09T15:40:05.0200152Z ##[debug]Importing function 'Get-BcContainerLicenseInformation'.
2023-05-09T15:40:05.0249328Z ##[debug]Importing function 'Get-BcContainerName'.
2023-05-09T15:40:05.0287672Z ##[debug]Importing function 'Get-BcContainerNavVersion'.
2023-05-09T15:40:05.0326652Z ##[debug]Importing function 'Get-BcContainerOsVersion'.
2023-05-09T15:40:05.0362814Z ##[debug]Importing function 'Get-BcContainerPath'.
2023-05-09T15:40:05.0401461Z ##[debug]Importing function 'Get-BcContainerPlatformVersion'.
2023-05-09T15:40:05.0455229Z ##[debug]Importing function 'Get-BcContainers'.
2023-05-09T15:40:05.0497665Z ##[debug]Importing function 'Get-BcContainerServerConfiguration'.
2023-05-09T15:40:05.0535089Z ##[debug]Importing function 'Get-BcContainerSession'.
2023-05-09T15:40:05.0584258Z ##[debug]Importing function 'Get-BcContainerSharedFolders'.
2023-05-09T15:40:05.0624294Z ##[debug]Importing function 'Get-BcContainerTenants'.
2023-05-09T15:40:05.0661743Z ##[debug]Importing function 'Get-BcDatabaseExportHistory'.
2023-05-09T15:40:05.0708730Z ##[debug]Importing function 'Get-BcEnvironments'.
2023-05-09T15:40:05.0753513Z ##[debug]Importing function 'Get-BcEnvironmentUpdateWindow'.
2023-05-09T15:40:05.0815026Z ##[debug]Importing function 'Get-BcInstalledExtensions'.
2023-05-09T15:40:05.0854813Z ##[debug]Importing function 'Get-BcNotificationRecipients'.
2023-05-09T15:40:05.0901557Z ##[debug]Importing function 'Get-BcNuGetPackage'.
2023-05-09T15:40:05.0952837Z ##[debug]Importing function 'Get-BcOperations'.
2023-05-09T15:40:05.0981210Z ##[debug]Importing function 'Get-BcPublishedApps'.
2023-05-09T15:40:05.1026270Z ##[debug]Importing function 'Get-BcScheduledUpgrade'.
2023-05-09T15:40:05.1074542Z ##[debug]Importing function 'Get-BcUsedStorage'.
2023-05-09T15:40:05.1117431Z ##[debug]Importing function 'Get-BestBcContainerImageName'.
2023-05-09T15:40:05.1158152Z ##[debug]Importing function 'Get-BestGenericImageName'.
2023-05-09T15:40:05.1209704Z ##[debug]Importing function 'Get-CompanyInBcContainer'.
2023-05-09T15:40:05.1251187Z ##[debug]Importing function 'Get-LatestAlLanguageExtensionUrl'.
2023-05-09T15:40:05.1291868Z ##[debug]Importing function 'Get-LocaleFromCountry'.
2023-05-09T15:40:05.1338767Z ##[debug]Importing function 'Get-NavArtifactUrl'.
2023-05-09T15:40:05.1384332Z ##[debug]Importing function 'Get-NavVersionFromVersionInfo'.
2023-05-09T15:40:05.1426974Z ##[debug]Importing function 'Get-PlainText'.
2023-05-09T15:40:05.1470957Z ##[debug]Importing function 'Get-TestsFromBcContainer'.
2023-05-09T15:40:05.1525748Z ##[debug]Importing function 'Import-BcContainerLicense'.
2023-05-09T15:40:05.1566697Z ##[debug]Importing function 'Import-CertificateToBcContainer'.
2023-05-09T15:40:05.1605312Z ##[debug]Importing function 'Import-ConfigPackageInBcContainer'.
2023-05-09T15:40:05.1643181Z ##[debug]Importing function 'Import-DeltasToNavContainer'.
2023-05-09T15:40:05.1689744Z ##[debug]Importing function 'Import-ObjectsToNavContainer'.
2023-05-09T15:40:05.1731034Z ##[debug]Importing function 'Import-PfxCertificateToBcContainer'.
2023-05-09T15:40:05.1770141Z ##[debug]Importing function 'Import-TestToolkitToBcContainer'.
2023-05-09T15:40:05.1816914Z ##[debug]Importing function 'InitTelemetryScope'.
2023-05-09T15:40:05.1869638Z ##[debug]Importing function 'Install-AzDevops'.
2023-05-09T15:40:05.1913583Z ##[debug]Importing function 'Install-BcAppFromAppSource'.
2023-05-09T15:40:05.1953896Z ##[debug]Importing function 'Install-BcContainerApp'.
2023-05-09T15:40:05.2002349Z ##[debug]Importing function 'Install-NAVSipCryptoProviderFromBcContainer'.
2023-05-09T15:40:05.2108733Z ##[debug]Importing function 'Invoke-BcContainerApi'.
2023-05-09T15:40:05.2211241Z ##[debug]Importing function 'invoke-gh'.
2023-05-09T15:40:05.2253354Z ##[debug]Importing function 'invoke-git'.
2023-05-09T15:40:05.2294581Z ##[debug]Importing function 'Invoke-IngestionApiDelete'.
2023-05-09T15:40:05.2340833Z ##[debug]Importing function 'Invoke-IngestionApiGet'.
2023-05-09T15:40:05.2381795Z ##[debug]Importing function 'Invoke-IngestionApiGetCollection'.
2023-05-09T15:40:05.2433458Z ##[debug]Importing function 'Invoke-IngestionApiPost'.
2023-05-09T15:40:05.2485693Z ##[debug]Importing function 'Invoke-IngestionApiPut'.
2023-05-09T15:40:05.2530583Z ##[debug]Importing function 'Invoke-NavContainerCodeunit'.
2023-05-09T15:40:05.2568504Z ##[debug]Importing function 'Invoke-ScriptInBcContainer'.
2023-05-09T15:40:05.2607411Z ##[debug]Importing function 'New-AadAppsForBc'.
2023-05-09T15:40:05.2649380Z ##[debug]Importing function 'New-ALGoAppSourceContext'.
2023-05-09T15:40:05.2687600Z ##[debug]Importing function 'New-ALGoAuthContext'.
2023-05-09T15:40:05.2725098Z ##[debug]Importing function 'New-ALGoNugetContext'.
2023-05-09T15:40:05.2783067Z ##[debug]Importing function 'New-ALGoStorageContext'.
2023-05-09T15:40:05.2823576Z ##[debug]Importing function 'New-AppSourceSubmission'.
2023-05-09T15:40:05.2861711Z ##[debug]Importing function 'New-BcAuthContext'.
2023-05-09T15:40:05.2899142Z ##[debug]Importing function 'New-BcCompilerFolder'.
2023-05-09T15:40:05.2948175Z ##[debug]Importing function 'New-BcContainer'.
2023-05-09T15:40:05.2986544Z ##[debug]Importing function 'New-BcContainerBcUser'.
2023-05-09T15:40:05.3038005Z ##[debug]Importing function 'New-BcContainerTenant'.
2023-05-09T15:40:05.3083750Z ##[debug]Importing function 'New-BcContainerWindowsUser'.
2023-05-09T15:40:05.3136937Z ##[debug]Importing function 'New-BcContainerWizard'.
2023-05-09T15:40:05.3175598Z ##[debug]Importing function 'New-BcDatabaseExport'.
2023-05-09T15:40:05.3214738Z ##[debug]Importing function 'New-BcEnvironment'.
2023-05-09T15:40:05.3275426Z ##[debug]Importing function 'New-BcImage'.
2023-05-09T15:40:05.3336169Z ##[debug]Importing function 'New-BcNotificationRecipient'.
2023-05-09T15:40:05.3376559Z ##[debug]Importing function 'New-BcNuGetPackage'.
2023-05-09T15:40:05.3413791Z ##[debug]Importing function 'New-CompanyInBcContainer'.
2023-05-09T15:40:05.3452442Z ##[debug]Importing function 'New-DesktopShortcut'.
2023-05-09T15:40:05.3487958Z ##[debug]Importing function 'New-LetsEncryptCertificate'.
2023-05-09T15:40:05.3528628Z ##[debug]Importing function 'Open-BcContainer'.
2023-05-09T15:40:05.3570277Z ##[debug]The 'Promote-AppSourceSubmission' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. For a list of approved verbs, type Get-Verb.
2023-05-09T15:40:05.3607861Z ##[debug]Importing function 'Promote-AppSourceSubmission'.
2023-05-09T15:40:05.3647178Z ##[debug]Importing function 'Publish-BcContainerApp'.
2023-05-09T15:40:05.3686024Z ##[debug]Importing function 'Publish-BcNuGetPackageToContainer'.
2023-05-09T15:40:05.3722205Z ##[debug]Importing function 'Publish-BuildOutputToAzureFeed'.
2023-05-09T15:40:05.3757962Z ##[debug]Importing function 'Publish-BuildOutputToStorage'.
2023-05-09T15:40:05.4063756Z ##[debug]Importing function 'Publish-NewApplicationToBcContainer'.
2023-05-09T15:40:05.4098779Z ##[debug]Importing function 'Publish-PerTenantExtensionApps'.
2023-05-09T15:40:05.4133910Z ##[debug]Importing function 'Push-BcNuGetPackage'.
2023-05-09T15:40:05.4168355Z ##[debug]Importing function 'RegisterTelemetryScope'.
2023-05-09T15:40:05.4204686Z ##[debug]Importing function 'Remove-AadAppsForBc'.
2023-05-09T15:40:05.4241377Z ##[debug]Importing function 'Remove-BcCompilerFolder'.
2023-05-09T15:40:05.4286479Z ##[debug]Importing function 'Remove-BcContainer'.
2023-05-09T15:40:05.4321214Z ##[debug]Importing function 'Remove-BcContainerSession'.
2023-05-09T15:40:05.4474263Z ##[debug]Importing function 'Remove-BcContainerTenant'.
2023-05-09T15:40:05.4513519Z ##[debug]Importing function 'Remove-BcDatabase'.
2023-05-09T15:40:05.4548682Z ##[debug]Importing function 'Remove-BcEnvironment'.
2023-05-09T15:40:05.4582168Z ##[debug]Importing function 'Remove-CompanyInBcContainer'.
2023-05-09T15:40:05.4618634Z ##[debug]Importing function 'Remove-ConfigPackageInBcContainer'.
2023-05-09T15:40:05.4656154Z ##[debug]Importing function 'Remove-DesktopShortcut'.
2023-05-09T15:40:05.4697334Z ##[debug]Importing function 'Rename-BcEnvironment'.
2023-05-09T15:40:05.4730701Z ##[debug]The 'Renew-BcAuthContext' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "Initialize,Update".
2023-05-09T15:40:05.4766015Z ##[debug]Importing function 'Renew-BcAuthContext'.
2023-05-09T15:40:05.4798753Z ##[debug]The 'Renew-LetsEncryptCertificate' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "Initialize,Update".
2023-05-09T15:40:05.4832846Z ##[debug]Importing function 'Renew-LetsEncryptCertificate'.
2023-05-09T15:40:05.4868398Z ##[debug]Importing function 'Repair-BcContainerApp'.
2023-05-09T15:40:05.4903675Z ##[debug]The 'Replace-BcServerContainer' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. For a list of approved verbs, type Get-Verb.
2023-05-09T15:40:05.4937333Z ##[debug]Importing function 'Replace-BcServerContainer'.
2023-05-09T15:40:05.4969704Z ##[debug]The 'Replace-DependenciesInAppFile' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. For a list of approved verbs, type Get-Verb.
2023-05-09T15:40:05.5018019Z ##[debug]Importing function 'Replace-DependenciesInAppFile'.
2023-05-09T15:40:05.5052012Z ##[debug]The 'Reschedule-BcUpgrade' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. For a list of approved verbs, type Get-Verb.
2023-05-09T15:40:05.5092802Z ##[debug]Importing function 'Reschedule-BcUpgrade'.
2023-05-09T15:40:05.5127297Z ##[debug]Importing function 'Resolve-DependenciesFromAzureFeed'.
2023-05-09T15:40:05.5167574Z ##[debug]Importing function 'Restart-BcContainer'.
2023-05-09T15:40:05.5198987Z ##[debug]Importing function 'Restart-BcContainerServiceTier'.
2023-05-09T15:40:05.5245698Z ##[debug]Importing function 'Restore-BcDatabaseFromArtifacts'.
2023-05-09T15:40:05.5295144Z ##[debug]Importing function 'Restore-BcEnvironment'.
2023-05-09T15:40:05.5336649Z ##[debug]Importing function 'Restore-DatabasesInBcContainer'.
2023-05-09T15:40:05.5375761Z ##[debug]The 'Run-AlCops' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "Invoke,Start".
2023-05-09T15:40:05.5414482Z ##[debug]Importing function 'Run-AlCops'.
2023-05-09T15:40:05.5453575Z ##[debug]The 'Run-AlPipeline' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "Invoke,Start".
2023-05-09T15:40:05.5510214Z ##[debug]Importing function 'Run-AlPipeline'.
2023-05-09T15:40:05.5562502Z ##[debug]The 'Run-AlValidation' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "Invoke,Start".
2023-05-09T15:40:05.5584503Z ##[debug]Importing function 'Run-AlValidation'.
2023-05-09T15:40:05.5620132Z ##[debug]The 'Run-BCPTTestsInBcContainer' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "Invoke,Start".
2023-05-09T15:40:05.5665348Z ##[debug]Importing function 'Run-BCPTTestsInBcContainer'.
2023-05-09T15:40:05.5699786Z ##[debug]The 'Run-ConnectionTestToBcContainer' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "Invoke,Start".
2023-05-09T15:40:05.5733992Z ##[debug]Importing function 'Run-ConnectionTestToBcContainer'.
2023-05-09T15:40:05.5768771Z ##[debug]The 'Run-TestsInBcContainer' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "Invoke,Start".
2023-05-09T15:40:05.5801484Z ##[debug]Importing function 'Run-TestsInBcContainer'.
2023-05-09T15:40:05.5833467Z ##[debug]Importing function 'Set-BcContainerFeatureKeys'.
2023-05-09T15:40:05.5867449Z ##[debug]Importing function 'Set-BcContainerKeyVaultAadAppAndCertificate'.
2023-05-09T15:40:05.5900788Z ##[debug]Importing function 'Set-BcContainerServerConfiguration'.
2023-05-09T15:40:05.5932686Z ##[debug]Importing function 'Set-BcEnvironmentApplicationInsightsKey'.
2023-05-09T15:40:05.5979044Z ##[debug]Importing function 'Set-BcEnvironmentUpdateWindow'.
2023-05-09T15:40:05.6014604Z ##[debug]The 'Setup-BcContainerTestUsers' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "Initialize,Install".
2023-05-09T15:40:05.6050688Z ##[debug]Importing function 'Setup-BcContainerTestUsers'.
2023-05-09T15:40:05.6085941Z ##[debug]The 'Setup-TraefikContainerForBcContainers' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "Initialize,Install".
2023-05-09T15:40:05.6120481Z ##[debug]Importing function 'Setup-TraefikContainerForBcContainers'.
2023-05-09T15:40:05.6154255Z ##[debug]The 'Sign-BcContainerApp' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. For a list of approved verbs, type Get-Verb.
2023-05-09T15:40:05.6186271Z ##[debug]Importing function 'Sign-BcContainerApp'.
2023-05-09T15:40:05.6219868Z ##[debug]The 'Sort-AppFilesByDependencies' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. For a list of approved verbs, type Get-Verb.
2023-05-09T15:40:05.6271543Z ##[debug]Importing function 'Sort-AppFilesByDependencies'.
2023-05-09T15:40:05.6305195Z ##[debug]The 'Sort-AppFoldersByDependencies' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. For a list of approved verbs, type Get-Verb.
2023-05-09T15:40:05.6339134Z ##[debug]Importing function 'Sort-AppFoldersByDependencies'.
2023-05-09T15:40:05.6422675Z ##[debug]Importing function 'Start-BcContainer'.
2023-05-09T15:40:05.6455514Z ##[debug]Importing function 'Start-BcContainerAppDataUpgrade'.
2023-05-09T15:40:05.6490443Z ##[debug]Importing function 'Stop-BcContainer'.
2023-05-09T15:40:05.6523893Z ##[debug]Importing function 'Sync-BcContainerApp'.
2023-05-09T15:40:05.6559410Z ##[debug]Importing function 'Test-BcContainer'.
2023-05-09T15:40:05.6600233Z ##[debug]Importing function 'TrackException'.
2023-05-09T15:40:05.6631870Z ##[debug]Importing function 'TrackTrace'.
2023-05-09T15:40:05.6668123Z ##[debug]Importing function 'UnInstall-BcContainerApp'.
2023-05-09T15:40:05.6701601Z ##[debug]Importing function 'UnPublish-BcContainerApp'.
2023-05-09T15:40:05.6734112Z ##[debug]The 'UploadImportAndApply-ConfigPackageInBcContainer' command in the BcContainerHelper' module was imported, but because its name does not include an approved verb, it might be difficult to find. For a list of approved verbs, type Get-Verb.
2023-05-09T15:40:05.6784071Z ##[debug]Importing function 'UploadImportAndApply-ConfigPackageInBcContainer'.
2023-05-09T15:40:05.6817311Z ##[debug]Importing function 'Wait-BcContainerReady'.
2023-05-09T15:40:05.6854971Z ##[debug]Importing function 'Wait-BcEnvironmentsReady'.
2023-05-09T15:40:05.6890466Z ##[debug]Importing function 'Write-BcContainerHelperWelcomeText'.
2023-05-09T15:40:05.6928550Z ##[debug]Importing variable 'bcContainerHelperConfig'.
2023-05-09T15:40:05.6966503Z ##[debug]Importing alias 'Add-FontsToNavContainer'.
2023-05-09T15:40:05.7002565Z ##[debug]Importing alias 'Backup-NavContainerDatabases'.
2023-05-09T15:40:05.7036785Z ##[debug]Importing alias 'Check-NavContainerHelperPermissions'.
2023-05-09T15:40:05.7073257Z ##[debug]Importing alias 'Compile-AppInNavContainer'.
2023-05-09T15:40:05.7103651Z ##[debug]Importing alias 'Convert-AlcOutputToAzureDevOps'.
2023-05-09T15:40:05.7138409Z ##[debug]Importing alias 'Copy-CompanyInNavContainer'.
2023-05-09T15:40:05.7170722Z ##[debug]Importing alias 'Copy-FileFromNavContainer'.
2023-05-09T15:40:05.7202690Z ##[debug]Importing alias 'Copy-FileToNavContainer'.
2023-05-09T15:40:05.7238321Z ##[debug]Importing alias 'Create-AadAppsForBC'.
2023-05-09T15:40:05.7289798Z ##[debug]Importing alias 'Create-AadUsersInNavContainer'.
2023-05-09T15:40:05.7325668Z ##[debug]Importing alias 'Create-AlProjectFolderFromNavContainer'.
2023-05-09T15:40:05.7356401Z ##[debug]Importing alias 'Enter-NavContainer'.
2023-05-09T15:40:05.7409562Z ##[debug]Importing alias 'Export-NavContainerDatabasesAsBacpac'.
2023-05-09T15:40:05.7444775Z ##[debug]Importing alias 'Extract-FilesFromNavContainerImage'.
2023-05-09T15:40:05.7485890Z ##[debug]Importing alias 'Extract-FilesFromStoppedNavContainer'.
2023-05-09T15:40:05.7521196Z ##[debug]Importing alias 'Get-ALGoAuthContext'.
2023-05-09T15:40:05.9020993Z ##[debug]Importing alias 'Get-BcEnvironmentsAvailableRestorePeriods'.
2023-05-09T15:40:05.9058306Z ##[debug]Importing alias 'Get-BcEnvironmentsOperations'.
2023-05-09T15:40:05.9093548Z ##[debug]Importing alias 'Get-BcEnvironmentsUsedStorage'.
2023-05-09T15:40:05.9130620Z ##[debug]Importing alias 'Get-BestNavContainerImageName'.
2023-05-09T15:40:05.9166398Z ##[debug]Importing alias 'Get-CompanyInNavContainer'.
2023-05-09T15:40:05.9202004Z ##[debug]Importing alias 'Get-NavContainerApiCompanyId'.
2023-05-09T15:40:05.9234942Z ##[debug]Importing alias 'Get-NavContainerApp'.
2023-05-09T15:40:05.9283134Z ##[debug]Importing alias 'Get-NavContainerAppInfo'.
2023-05-09T15:40:05.9318384Z ##[debug]Importing alias 'Get-NavContainerAppRuntimePackage'.
2023-05-09T15:40:05.9353246Z ##[debug]Importing alias 'Get-NavContainerArtifactUrl'.
2023-05-09T15:40:05.9389125Z ##[debug]Importing alias 'Get-NavContainerCountry'.
2023-05-09T15:40:05.9422654Z ##[debug]Importing alias 'Get-NavContainerDebugInfo'.
2023-05-09T15:40:05.9456696Z ##[debug]Importing alias 'Get-NavContainerEula'.
2023-05-09T15:40:05.9491849Z ##[debug]Importing alias 'Get-NavContainerEventLog'.
2023-05-09T15:40:05.9526099Z ##[debug]Importing alias 'Get-NavContainerGenericTag'.
2023-05-09T15:40:05.9558940Z ##[debug]Importing alias 'Get-NavContainerId'.
2023-05-09T15:40:05.9598836Z ##[debug]Importing alias 'Get-NavContainerImageLabels'.
2023-05-09T15:40:05.9636786Z ##[debug]Importing alias 'Get-NavContainerImageName'.
2023-05-09T15:40:05.9670687Z ##[debug]Importing alias 'Get-NavContainerImageTags'.
2023-05-09T15:40:05.9709196Z ##[debug]Importing alias 'Get-NavContainerIpAddress'.
2023-05-09T15:40:05.9744758Z ##[debug]Importing alias 'Get-NavContainerLegal'.
2023-05-09T15:40:05.9780720Z ##[debug]Importing alias 'Get-NavContainerLicenseInformation'.
2023-05-09T15:40:05.9825440Z ##[debug]Importing alias 'Get-NavContainerName'.
2023-05-09T15:40:05.9860174Z ##[debug]Importing alias 'Get-NavContainerNavUser'.
2023-05-09T15:40:05.9894691Z ##[debug]Importing alias 'Get-NavContainerNavVersion'.
2023-05-09T15:40:05.9943697Z ##[debug]Importing alias 'Get-NavContainerOsVersion'.
2023-05-09T15:40:06.0003326Z ##[debug]Importing alias 'Get-NavContainerPath'.
2023-05-09T15:40:06.0064650Z ##[debug]Importing alias 'Get-NavContainerPlatformVersion'.
2023-05-09T15:40:06.0071378Z ##[debug]Importing alias 'Get-NavContainers'.
2023-05-09T15:40:06.0104601Z ##[debug]Importing alias 'Get-NavContainerServerConfiguration'.
2023-05-09T15:40:06.0136712Z ##[debug]Importing alias 'Get-NavContainerSession'.
2023-05-09T15:40:06.0169118Z ##[debug]Importing alias 'Get-NavContainerSharedFolders'.
2023-05-09T15:40:06.0205491Z ##[debug]Importing alias 'Get-NavContainerTenants'.
2023-05-09T15:40:06.0239089Z ##[debug]Importing alias 'Get-TestsFromNavContainer'.
2023-05-09T15:40:06.0271805Z ##[debug]Importing alias 'Import-ConfigPackageInNavContainer'.
2023-05-09T15:40:06.0303834Z ##[debug]Importing alias 'Import-NavContainerLicense'.
2023-05-09T15:40:06.0337982Z ##[debug]Importing alias 'Import-PfxCertificateToNavContainer'.
2023-05-09T15:40:06.0375613Z ##[debug]Importing alias 'Import-TestToolkitToNavContainer'.
2023-05-09T15:40:06.0425717Z ##[debug]Importing alias 'Install-NavContainerApp'.
2023-05-09T15:40:06.0459389Z ##[debug]Importing alias 'Install-NAVSipCryptoProviderFromNavContainer'.
2023-05-09T15:40:06.0495318Z ##[debug]Importing alias 'Invoke-NavContainerApi'.
2023-05-09T15:40:06.0532430Z ##[debug]Importing alias 'Invoke-ScriptInNavContainer'.
2023-05-09T15:40:06.0569986Z ##[debug]Importing alias 'New-CompanyInNavContainer'.
2023-05-09T15:40:06.0606672Z ##[debug]Importing alias 'New-NavContainer'.
2023-05-09T15:40:06.0643690Z ##[debug]Importing alias 'New-NavContainerNavUser'.
2023-05-09T15:40:06.0679709Z ##[debug]Importing alias 'New-NavContainerTenant'.
2023-05-09T15:40:06.0733317Z ##[debug]Importing alias 'New-NavContainerWindowsUser'.
2023-05-09T15:40:06.0767651Z ##[debug]Importing alias 'New-NavContainerWizard'.
2023-05-09T15:40:06.0801255Z ##[debug]Importing alias 'New-NavImage'.
2023-05-09T15:40:06.0835068Z ##[debug]Importing alias 'Open-NavContainer'.
2023-05-09T15:40:06.0869417Z ##[debug]Importing alias 'Publish-NavContainerApp'.
2023-05-09T15:40:06.0905143Z ##[debug]Importing alias 'Publish-NewApplicationToNavContainer'.
2023-05-09T15:40:06.0943701Z ##[debug]Importing alias 'Remove-CompanyInNavContainer'.
2023-05-09T15:40:06.0976778Z ##[debug]Importing alias 'Remove-ConfigPackageInNavContainer'.
2023-05-09T15:40:06.1027082Z ##[debug]Importing alias 'Remove-NavContainer'.
2023-05-09T15:40:06.1062075Z ##[debug]Importing alias 'Remove-NavContainerSession'.
2023-05-09T15:40:06.1096463Z ##[debug]Importing alias 'Remove-NavContainerTenant'.
2023-05-09T15:40:06.1150502Z ##[debug]Importing alias 'Repair-NavContainerApp'.
2023-05-09T15:40:06.1248372Z ##[debug]Importing alias 'Replace-NavServerContainer'.
2023-05-09T15:40:06.1300045Z ##[debug]Importing alias 'Restart-NavContainer'.
2023-05-09T15:40:06.1345653Z ##[debug]Importing alias 'Restore-DatabasesInNavContainer'.
2023-05-09T15:40:06.1381935Z ##[debug]Importing alias 'Run-ConnectionTestToNavContainer'.
2023-05-09T15:40:06.1421129Z ##[debug]Importing alias 'Run-TestsInNavContainer'.
2023-05-09T15:40:06.1461798Z ##[debug]Importing alias 'Setup-NavContainerTestUsers'.
2023-05-09T15:40:06.1509749Z ##[debug]Importing alias 'Setup-TraefikContainerForNavContainers'.
2023-05-09T15:40:06.1556872Z ##[debug]Importing alias 'Sign-NavContainerApp'.
2023-05-09T15:40:06.1604729Z ##[debug]Importing alias 'Start-NavContainer'.
2023-05-09T15:40:06.1639292Z ##[debug]Importing alias 'Start-NavContainerAppDataUpgrade'.
2023-05-09T15:40:06.1673989Z ##[debug]Importing alias 'Stop-NavContainer'.
2023-05-09T15:40:06.1717938Z ##[debug]Importing alias 'Sync-NavContainerApp'.
2023-05-09T15:40:06.1757566Z ##[debug]Importing alias 'Test-NavContainer'.
2023-05-09T15:40:06.1793955Z ##[debug]Importing alias 'UnInstall-NavContainerApp'.
2023-05-09T15:40:06.1897714Z ##[debug]Importing alias 'UnPublish-NavContainerApp'.
2023-05-09T15:40:06.1932888Z ##[debug]Importing alias 'Wait-NavContainerReady'.
2023-05-09T15:40:06.2067491Z 
2023-05-09T15:40:06.2078495Z 
2023-05-09T15:40:06.2170522Z ##[command]"Get-BCArtifactUrl" 
2023-05-09T15:40:06.2171233Z Name                           Value                                                                                   
2023-05-09T15:40:06.2172604Z ----                           -----                                                                                   
2023-05-09T15:40:06.2174066Z select                         Latest                                                                                  
2023-05-09T15:40:06.2175243Z version                        14.44.49619.0                                                                           
2023-05-09T15:40:06.2176408Z type                           OnPrem                                                                                  
2023-05-09T15:40:06.2177289Z country                        w1                                                                                      
2023-05-09T15:40:06.2177817Z 
2023-05-09T15:40:06.2178037Z 
2023-05-09T15:40:06.2178360Z  -select: Latest -version: 14.44.49619.0 -type: OnPrem -country: w1
2023-05-09T15:40:08.0114757Z *** Platform: c:\bcartifacts.cache\onprem\14.44.49619.0\platform
2023-05-09T15:40:08.0164808Z *** Localisation: c:\bcartifacts.cache\onprem\14.44.49619.0\w1
2023-05-09T15:40:08.0290709Z *** BC Management DLL: C:\bcartifacts.cache\onprem\14.44.49619.0\platform\RoleTailoredClient\program files\Microsoft Dynamics NAV\140\RoleTailored Client\Microsoft.Dynamics.Nav.Management.dll
2023-05-09T15:40:08.0336761Z ##[debug]Loading module from path 'C:\bcartifacts.cache\onprem\14.44.49619.0\platform\RoleTailoredClient\program files\Microsoft Dynamics NAV\140\RoleTailored Client\Microsoft.Dynamics.Nav.Management.dll'.
2023-05-09T15:40:08.0588726Z ##[debug]Importing cmdlet 'Convert-NAVTenant'.
2023-05-09T15:40:08.0624633Z ##[debug]Importing cmdlet 'Convert-NAVCustomization'.
2023-05-09T15:40:08.0663335Z ##[debug]Importing cmdlet 'Dismount-NAVTenantDatabase'.
2023-05-09T15:40:08.0980658Z ##[debug]Importing cmdlet 'Invoke-NAVSanitizeField'.
2023-05-09T15:40:08.1022704Z ##[debug]Importing cmdlet 'Get-NAVServerAppConfiguration'.
2023-05-09T15:40:08.1060679Z ##[debug]Importing cmdlet 'Get-NAVTenantDatabase'.
2023-05-09T15:40:08.1094526Z ##[debug]Importing cmdlet 'Import-NAVMembershipEntitlement'.
2023-05-09T15:40:08.1135866Z ##[debug]Importing cmdlet 'Import-NAVConfigurationPackageFile'.
2023-05-09T15:40:08.1169435Z ##[debug]Importing cmdlet 'Mount-NAVTenantDatabase'.
2023-05-09T15:40:08.1203532Z ##[debug]Importing cmdlet 'Move-NAVTenant'.
2023-05-09T15:40:08.1235880Z ##[debug]Importing cmdlet 'New-NAVServerAppConfiguration'.
2023-05-09T15:40:08.1268197Z ##[debug]Importing cmdlet 'New-NAVTableConnection'.
2023-05-09T15:40:08.1304161Z ##[debug]Importing cmdlet 'Copy-NAVCompany'.
2023-05-09T15:40:08.1340379Z ##[debug]Importing cmdlet 'Export-NAVData'.
2023-05-09T15:40:08.1373326Z ##[debug]Importing cmdlet 'Export-NAVEncryptionKey'.
2023-05-09T15:40:08.1405390Z ##[debug]Importing cmdlet 'Get-NAVAddIn'.
2023-05-09T15:40:08.1439939Z ##[debug]Importing cmdlet 'Get-NAVDataFile'.
2023-05-09T15:40:08.1475913Z ##[debug]Importing cmdlet 'Get-NAVTableConnection'.
2023-05-09T15:40:08.1512198Z ##[debug]Importing cmdlet 'Get-NAVCompany'.
2023-05-09T15:40:08.1546702Z ##[debug]Importing cmdlet 'Get-NAVWebService'.
2023-05-09T15:40:08.1578317Z ##[debug]Importing cmdlet 'Import-NAVEncryptionKey'.
2023-05-09T15:40:08.1611140Z ##[debug]Importing cmdlet 'Import-NAVData'.
2023-05-09T15:40:08.1645928Z ##[debug]Importing cmdlet 'Invoke-NAVCodeunit'.
2023-05-09T15:40:08.1678526Z ##[debug]Importing cmdlet 'Get-NAVDataUpgrade'.
2023-05-09T15:40:08.1710633Z ##[debug]Importing cmdlet 'New-NAVAddIn'.
2023-05-09T15:40:08.1746308Z ##[debug]Importing cmdlet 'Copy-NAVTenantData'.
2023-05-09T15:40:08.1779670Z ##[debug]Importing cmdlet 'New-NAVTenant'.
2023-05-09T15:40:08.1816011Z ##[debug]Importing cmdlet 'Register-NAVTenant'.
2023-05-09T15:40:08.1854056Z ##[debug]Importing cmdlet 'Remove-NAVAddIn'.
2023-05-09T15:40:08.1887549Z ##[debug]Importing cmdlet 'New-NAVEncryptionKey'.
2023-05-09T15:40:08.1924770Z ##[debug]Importing cmdlet 'Remove-NAVConfigurationPackageFile'.
2023-05-09T15:40:08.1962658Z ##[debug]Importing cmdlet 'Remove-NAVTableConnection'.
2023-05-09T15:40:08.1998506Z ##[debug]Importing cmdlet 'Remove-NAVTenant'.
2023-05-09T15:40:08.2030766Z ##[debug]Importing cmdlet 'Restart-NAVServerInstance'.
2023-05-09T15:40:08.2066562Z ##[debug]Importing cmdlet 'Resume-NAVDataUpgrade'.
2023-05-09T15:40:08.2098714Z ##[debug]Importing cmdlet 'Set-NAVAddIn'.
2023-05-09T15:40:08.2139438Z ##[debug]Importing cmdlet 'Set-NAVServerAppConfiguration'.
2023-05-09T15:40:08.2173678Z ##[debug]Importing cmdlet 'Set-NAVCompany'.
2023-05-09T15:40:08.2208483Z ##[debug]Importing cmdlet 'Set-NAVTenant'.
2023-05-09T15:40:08.2241927Z ##[debug]Importing cmdlet 'Start-NAVServerInstance'.
2023-05-09T15:40:08.2276176Z ##[debug]Importing cmdlet 'Stop-NAVDataUpgrade'.
2023-05-09T15:40:08.2309410Z ##[debug]Importing cmdlet 'Start-NAVDataUpgrade'.
2023-05-09T15:40:08.2340816Z ##[debug]Importing cmdlet 'New-NAVWebService'.
2023-05-09T15:40:08.2379526Z ##[debug]Importing cmdlet 'Get-NAVApplication'.
2023-05-09T15:40:08.2415861Z ##[debug]Importing cmdlet 'Get-NAVTenant'.
2023-05-09T15:40:08.2454096Z ##[debug]Importing cmdlet 'Dismount-NAVTenant'.
2023-05-09T15:40:08.2487068Z ##[debug]Importing cmdlet 'Mount-NAVApplication'.
2023-05-09T15:40:08.2527484Z ##[debug]Importing cmdlet 'Mount-NAVTenant'.
2023-05-09T15:40:08.2562429Z ##[debug]Importing cmdlet 'New-NAVCompany'.
2023-05-09T15:40:08.2597065Z ##[debug]Importing cmdlet 'New-NAVDatabase'.
2023-05-09T15:40:08.2629379Z ##[debug]Importing cmdlet 'Export-NAVServerLicenseInformation'.
2023-05-09T15:40:08.2664966Z ##[debug]Importing cmdlet 'Get-NAVServerConfiguration'.
2023-05-09T15:40:08.2699205Z ##[debug]Importing cmdlet 'Get-NAVServerInstance'.
2023-05-09T15:40:08.2733227Z ##[debug]Importing cmdlet 'Get-NAVServerPermission'.
2023-05-09T15:40:08.2771663Z ##[debug]Importing cmdlet 'Get-NAVServerPermissionSet'.
2023-05-09T15:40:08.2802831Z ##[debug]Importing cmdlet 'Get-NAVServerSession'.
2023-05-09T15:40:08.2839105Z ##[debug]Importing cmdlet 'Get-NAVServerUserPermissionSet'.
2023-05-09T15:40:08.2871184Z ##[debug]Importing cmdlet 'Get-NAVServerUser'.
2023-05-09T15:40:08.2904314Z ##[debug]Importing cmdlet 'New-NAVServerConfiguration'.
2023-05-09T15:40:08.2936394Z ##[debug]Importing cmdlet 'New-NAVServerInstance'.
2023-05-09T15:40:08.2971474Z ##[debug]Importing cmdlet 'New-NAVServerPermission'.
2023-05-09T15:40:08.3018848Z ##[debug]Importing cmdlet 'New-NAVServerPermissionSet'.
2023-05-09T15:40:08.3061335Z ##[debug]Importing cmdlet 'New-NAVServerUser'.
2023-05-09T15:40:08.3091260Z ##[debug]Importing cmdlet 'New-NAVServerUserPermissionSet'.
2023-05-09T15:40:08.3124119Z ##[debug]Importing cmdlet 'Remove-NAVApplication'.
2023-05-09T15:40:08.3166181Z ##[debug]Importing cmdlet 'Remove-NAVCompany'.
2023-05-09T15:40:08.3204449Z ##[debug]Importing cmdlet 'Remove-NAVServerInstance'.
2023-05-09T15:40:08.3270895Z ##[debug]Importing cmdlet 'Import-NAVServerLicense'.
2023-05-09T15:40:08.3422290Z ##[debug]Importing cmdlet 'Remove-NAVServerPermission'.
2023-05-09T15:40:08.3470639Z ##[debug]Importing cmdlet 'Remove-NAVServerPermissionSet'.
2023-05-09T15:40:08.3514808Z ##[debug]Importing cmdlet 'Remove-NAVServerSession'.
2023-05-09T15:40:08.3558473Z ##[debug]Importing cmdlet 'Remove-NAVServerUser'.
2023-05-09T15:40:08.3599251Z ##[debug]Importing cmdlet 'Remove-NAVServerUserPermissionSet'.
2023-05-09T15:40:08.3671181Z ##[debug]Importing cmdlet 'Remove-NAVWebService'.
2023-05-09T15:40:08.3726094Z ##[debug]Importing cmdlet 'Rename-NAVCompany'.
2023-05-09T15:40:08.3863799Z ##[debug]Importing cmdlet 'Export-NAVApplication'.
2023-05-09T15:40:08.3905744Z ##[debug]Importing cmdlet 'Set-NAVServerConfiguration'.
2023-05-09T15:40:08.3944998Z ##[debug]Importing cmdlet 'Set-NAVServerInstance'.
2023-05-09T15:40:08.4001193Z ##[debug]Importing cmdlet 'Set-NAVServerPermission'.
2023-05-09T15:40:08.4038248Z ##[debug]Importing cmdlet 'Set-NAVServerPermissionSet'.
2023-05-09T15:40:08.4073484Z ##[debug]Importing cmdlet 'Set-NAVServerUser'.
2023-05-09T15:40:08.4113167Z ##[debug]Importing cmdlet 'Stop-NAVServerInstance'.
2023-05-09T15:40:08.4147309Z ##[debug]Importing cmdlet 'Sync-NAVTenantDatabase'.
2023-05-09T15:40:08.4187697Z ##[debug]Importing cmdlet 'Sync-NAVTenant'.
2023-05-09T15:40:08.4220176Z ##[debug]Importing cmdlet 'Test-NAVTenantDatabaseSchema'.
2023-05-09T15:40:08.4398305Z ##[debug]Importing cmdlet 'Update-NAVScheduledTaskList'.
2023-05-09T15:40:08.4440075Z ##[debug]Importing cmdlet 'Set-NAVApplication'.
2023-05-09T15:40:08.4605184Z *** BC App Management DLL: C:\bcartifacts.cache\onprem\14.44.49619.0\platform\RoleTailoredClient\program files\Microsoft Dynamics NAV\140\RoleTailored Client\Microsoft.Dynamics.Nav.Apps.Management.dll
2023-05-09T15:40:08.4653235Z ##[debug]Loading module from path 'C:\bcartifacts.cache\onprem\14.44.49619.0\platform\RoleTailoredClient\program files\Microsoft Dynamics NAV\140\RoleTailored Client\Microsoft.Dynamics.Nav.Apps.Management.dll'.
2023-05-09T15:40:08.4869168Z ##[debug]Importing cmdlet 'Get-NavAppRuntimePackage'.
2023-05-09T15:40:08.4906559Z ##[debug]Importing cmdlet 'Get-NAVAppTableModification'.
2023-05-09T15:40:08.4941500Z ##[debug]Importing cmdlet 'Get-NAVAppTenant'.
2023-05-09T15:40:08.4982588Z ##[debug]Importing cmdlet 'Install-NAVApp'.
2023-05-09T15:40:08.5020629Z ##[debug]Importing cmdlet 'Repair-NAVApp'.
2023-05-09T15:40:08.5059290Z ##[debug]Importing cmdlet 'Start-NAVAppDataUpgrade'.
2023-05-09T15:40:08.5105697Z ##[debug]Importing cmdlet 'Sync-NAVApp'.
2023-05-09T15:40:08.5148104Z ##[debug]Importing cmdlet 'Uninstall-NAVApp'.
2023-05-09T15:40:08.5190676Z ##[debug]Importing cmdlet 'Get-NAVAppInfo'.
2023-05-09T15:40:08.5237369Z ##[debug]Importing cmdlet 'Unpublish-NAVApp'.
2023-05-09T15:40:08.5285106Z ##[debug]Importing cmdlet 'Publish-NAVApp'.
2023-05-09T15:40:08.5408009Z *** Get [*.app] and [app.json] files recursive from [C:\a\10\s\Apps\DataDistribution]
2023-05-09T15:40:08.5669483Z *** Found [1] file.
2023-05-09T15:40:08.5708165Z *** Extract App detail from [C:\a\10\s\Apps\DataDistribution\app.json]
2023-05-09T15:40:08.6550043Z *** Starting Batch compile of Apps:
2023-05-09T15:40:08.6630336Z   * C:\a\10\s\Apps\DataDistribution
2023-05-09T15:40:08.6658282Z *** Start Compiling: [C:\a\10\s\Apps\DataDistribution]
2023-05-09T15:40:08.8070934Z *** Get App Information
2023-05-09T15:40:08.8144340Z *** Loading Json Object: [C:\a\10\s\Apps\DataDistribution\app.json]
2023-05-09T15:40:08.8187825Z   * Id         : aa0fda13-11b9-472f-8c4c-c453f926ec23
2023-05-09T15:40:08.8205109Z   * Publisher  : Bunker Holding Group
2023-05-09T15:40:08.8221670Z   * Name       : DBC Data Distribution
2023-05-09T15:40:08.8238761Z   * Description: Distribute table changes from one company to another company.
2023-05-09T15:40:08.8284182Z *** Check Runtime: [3.2]
2023-05-09T15:40:08.8360590Z *** Runtime: 3
2023-05-09T15:40:08.8377677Z *** Removing ResourceExposurePolicy
2023-05-09T15:40:08.8939263Z *** Validate Version: 0.1.2.113718
2023-05-09T15:40:08.8964657Z *** Setting Managed App Version [C:\a\10\s\Apps\DataDistribution\app.json] =>  0.1.2.113718
2023-05-09T15:40:08.9107800Z *** VSCode Settings: [C:\a\10\s\Apps\DataDistribution\.vscode\settings.json]
2023-05-09T15:40:08.9144276Z *** VSCode-Settings json found.
2023-05-09T15:40:08.9166411Z *** Loading Json Object: [C:\a\10\s\Apps\DataDistribution\.vscode\settings.json]
2023-05-09T15:40:08.9236253Z *** Overrule VSCode settings RuleSetPath: C:\a\10\s\Apps\DataDistribution\rules\general.ruleset.json
2023-05-09T15:40:08.9257351Z *** Using Ruleset: [C:\a\10\s\Apps\DataDistribution\rules\general.ruleset.json]
2023-05-09T15:40:08.9384356Z ##[command]"Get-BCArtifactUrl" 
2023-05-09T15:40:08.9384755Z Name                           Value                                                                                   
2023-05-09T15:40:08.9385293Z ----                           -----                                                                                   
2023-05-09T15:40:08.9385532Z select                         Latest                                                                                  
2023-05-09T15:40:08.9385795Z version                        14.44.49619.0                                                                           
2023-05-09T15:40:08.9385993Z type                           OnPrem                                                                                  
2023-05-09T15:40:08.9386208Z country                        w1                                                                                      
2023-05-09T15:40:08.9386298Z 
2023-05-09T15:40:08.9386370Z 
2023-05-09T15:40:08.9386423Z 
2023-05-09T15:40:09.7929724Z *** Platform: c:\bcartifacts.cache\onprem\14.44.49619.0\platform
2023-05-09T15:40:09.7970803Z *** Localisation: c:\bcartifacts.cache\onprem\14.44.49619.0\w1
2023-05-09T15:40:09.8039544Z *** VSIX Path: C:\bcartifacts.cache\onprem\14.44.49619.0\platform\ModernDev\program files\Microsoft Dynamics NAV\140\AL Development Environment\ALLanguage.vsix
2023-05-09T15:40:09.8298367Z ##[debug]Leaving C:\a\_tasks\ALOpsAppCompiler_6ccb97e4-cd3b-4f5c-82d0-3b733949d45d\2.0.3607\e08442a7-95ad-45ca-8e1a-da495aa4cf42.ps1.
2023-05-09T15:40:09.8371534Z ##[debug]Caught exception from task script.
2023-05-09T15:40:09.8439638Z ##[debug]Error record:
2023-05-09T15:40:09.9116461Z ##[debug]Remove-Item : Windows PowerShell is in NonInteractive mode. Read and Prompt functionality is not available.
2023-05-09T15:40:09.9142535Z ##[debug]At C:\a\_tasks\ALOpsAppCompiler_6ccb97e4-cd3b-4f5c-82d0-3b733949d45d\2.0.3607\ps_modules\AppCompiler\73c7ca7d-fd5a-4c93-9199-940c71d1decb.ps1:536 char:13
2023-05-09T15:40:09.9167786Z ##[debug]+             Remove-Item -Path $TempExtractFolder -Confirm:$false -For ...
2023-05-09T15:40:09.9196503Z ##[debug]+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023-05-09T15:40:09.9277336Z ##[debug]    + CategoryInfo          : InvalidOperation: (:) [Remove-Item], PSInvalidOperationException
2023-05-09T15:40:09.9278415Z ##[debug]    + FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.RemoveItemCommand
2023-05-09T15:40:09.9617436Z ##[debug] 
2023-05-09T15:40:09.9662765Z ##[debug]Script stack trace:
2023-05-09T15:40:09.9729424Z ##[debug]at New-ALOpsV2Compilation, C:\a\_tasks\ALOpsAppCompiler_6ccb97e4-cd3b-4f5c-82d0-3b733949d45d\2.0.3607\ps_modules\AppCompiler\73c7ca7d-fd5a-4c93-9199-940c71d1decb.ps1: line 536
2023-05-09T15:40:09.9755924Z ##[debug]at Run-ALOpsAppCompilerV2Step, C:\a\_tasks\ALOpsAppCompiler_6ccb97e4-cd3b-4f5c-82d0-3b733949d45d\2.0.3607\ps_modules\AppCompiler\a2403f20-84ab-4287-9a21-0216731edc63.ps1: line 176
2023-05-09T15:40:09.9781578Z ##[debug]at <ScriptBlock>, C:\a\_tasks\ALOpsAppCompiler_6ccb97e4-cd3b-4f5c-82d0-3b733949d45d\2.0.3607\e08442a7-95ad-45ca-8e1a-da495aa4cf42.ps1: line 171
2023-05-09T15:40:09.9807123Z ##[debug]at <ScriptBlock>, C:\a\_tasks\ALOpsAppCompiler_6ccb97e4-cd3b-4f5c-82d0-3b733949d45d\2.0.3607\0cfb4a75-0b33-4317-b4b8-f0b92891f74a.ps1: line 1
2023-05-09T15:40:09.9830874Z ##[debug]at <ScriptBlock>, <No file>: line 1
2023-05-09T15:40:09.9854405Z ##[debug]at <ScriptBlock>, <No file>: line 22
2023-05-09T15:40:09.9880847Z ##[debug]at <ScriptBlock>, <No file>: line 18
2023-05-09T15:40:09.9907598Z ##[debug]at <ScriptBlock>, <No file>: line 1
2023-05-09T15:40:09.9948213Z ##[debug]Exception:
2023-05-09T15:40:10.0019299Z ##[debug]System.Management.Automation.PSInvalidOperationException: Windows PowerShell is in NonInteractive mode. Read and Prompt functionality is not available.
2023-05-09T15:40:10.0049785Z ##[debug]   at Microsoft.PowerShell.ConsoleHostUserInterface.HandleThrowOnReadAndPrompt()
2023-05-09T15:40:10.0072461Z ##[debug]   at Microsoft.PowerShell.ConsoleHostUserInterface.PromptForChoice(String caption, String message, Collection`1 choices, Int32 defaultChoice)
2023-05-09T15:40:10.0096281Z ##[debug]   at System.Management.Automation.Internal.Host.InternalHostUserInterface.PromptForChoice(String caption, String message, Collection`1 choices, Int32 defaultChoice)
2023-05-09T15:40:10.0121228Z ##[debug]   at System.Management.Automation.MshCommandRuntime.InquireHelper(String inquireMessage, String inquireCaption, Boolean allowYesToAll, Boolean allowNoToAll, Boolean replaceNoWithHalt, Boolean hasSecurityImpact)
2023-05-09T15:40:10.0145190Z ##[debug]   at System.Management.Automation.MshCommandRuntime.DoShouldContinue(String query, String caption, Boolean hasSecurityImpact, Boolean supportsToAllOptions, Boolean& yesToAll, Boolean& noToAll)
2023-05-09T15:40:10.0169242Z ##[debug]   at System.Management.Automation.MshCommandRuntime.ShouldContinue(String query, String caption, Boolean& yesToAll, Boolean& noToAll)
2023-05-09T15:40:10.0206298Z ##[debug]   at System.Management.Automation.Cmdlet.ShouldContinue(String query, String caption, Boolean& yesToAll, Boolean& noToAll)
2023-05-09T15:40:10.0230968Z ##[debug]   at Microsoft.PowerShell.Commands.RemoveItemCommand.ProcessRecord()
2023-05-09T15:40:10.0255088Z ##[debug]   at System.Management.Automation.CommandProcessor.ProcessRecord()
2023-05-09T15:40:10.0585493Z ##[error]Windows PowerShell is in NonInteractive mode. Read and Prompt functionality is not available.
2023-05-09T15:40:10.0596512Z ##[debug]Processed: ##vso[task.logissue type=error]Windows PowerShell is in NonInteractive mode. Read and Prompt functionality is not available.
2023-05-09T15:40:10.0603394Z ##[debug]Processed: ##vso[task.complete result=Failed]
2023-05-09T15:40:10.1062252Z ##[section]Finishing: Compile and validate DBC Data Distribution_

PS: It didn't make any difference having system.debug turned on or not.

waldo1001 commented 1 year ago

I don't know if this is still an issue - but one thing popped up in our mind: are you using multiple agents on 1 server (which definitely is not recommended!)?

waldo1001 commented 11 months ago

Can we close this issue?