Azure-pipelines-tasks: AZ File Copy Task Warning about `unapproved verbs`

Created on 25 Mar 2019  路  18Comments  路  Source: microsoft/azure-pipelines-tasks

Note

Required Information

Entering this information will route you directly to the right team and expedite traction.

Question, Bug, or Feature?
Type: Bug

Enter Task Name: AzureBlob File Copy

list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks

Environment

Issue Description

The task is showing warning

2019-03-25T21:48:21.5950954Z ##[warning]The names of some imported commands from the module 'AzureRM.Websites' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.

Task logs

Pipeline has no "debug" support, but log is attached.
logs_1957.zip

Troubleshooting

Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting

Error logs

2019-03-25T21:48:21.5950954Z ##[warning]The names of some imported commands from the module 'AzureRM.Websites' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
Release

Most helpful comment

Has this really been resolved?

Its now May 2019 and I am still encountering the same issue when utilizing the AzCopy task within Azure DevOps:

##[warning]The names of some imported commands from the module 'AzureRM.Websites' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.

All 18 comments

@mydiemho, Thanks for reporting the issue. This is an issue with Azure PowerShell and they have already fixed it. Unfortunately in hosted agent we are still using V2.1.0 for this task which dont have the fix.

Please ignore the warning.

https://github.com/Azure/azure-powershell/issues/3007

Is there any plan to update the task? The fix was out 2.5 years old :/

Has this really been resolved?

Its now May 2019 and I am still encountering the same issue when utilizing the AzCopy task within Azure DevOps:

##[warning]The names of some imported commands from the module 'AzureRM.Websites' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.

Still not fixed :sigh:

February 2020 checking in!

Can someone please look into resolving this warning. I see it's been open for quite some time when running deployments in DevOps.

2020-02-15T17:22:46.8827456Z ##[command]Import-Module -Name C:\Modules\azurerm_2.1.0\AzureRM\2.1.0\AzureRM.psd1 -Global
2020-02-15T17:22:58.4134658Z ##[warning]The names of some imported commands from the module 'AzureRM.Websites' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
2020-02-15T17:22:58.4210894Z ##[warning]The names of some imported commands from the module 'AzureRM' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.

Thanks 馃槉 No more warnings 鈿狅笍
@arjgupta

Still happening, March 2020 :-(

@oramoss The fix has not been deployed to all accounts yet. Should be available in next couple of weeks.

Curious if the fix covers V3/V4? The PR only seems to cover V2.

https://github.com/microsoft/azure-pipelines-tasks/pull/12406#discussion_r393326540

This is the PR we finally merged for this fix #12407

The fix will soon be deployed, thereby closing it

Has the fix already deployed? The warning still there.

I'm also getting the warning. Using task v3

06-2020, warnings are still there

Please use latest version of azure filecopy i.e. V4 version. The issue has been fixed in that.

@20shivangi the V4 of Azure File copy throws the error message "ExceptionMessage: Not able to fetch token for tenant Id"

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TheRealEdwardCullen picture TheRealEdwardCullen  路  3Comments

ThomasBarnekow picture ThomasBarnekow  路  3Comments

yaananth picture yaananth  路  3Comments

timfish picture timfish  路  3Comments

montebhoover picture montebhoover  路  3Comments