Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure File Copy Task does not appear to remove the WinRMCustomScriptExtension #4840

Closed
gregpakes opened this issue Jul 21, 2017 · 2 comments
Closed

Comments

@gregpakes
Copy link

The Azure File Copy task is able to setup WinRM and it does this through a custom extension. However, it does not appear to remove it once finished.

This means that if someone else comes along and tries to use a custom script extension they get the error:

Multiple VMExtensions per handler not supported for OS type 'Windows'. VMExtension 'customScriptArtifact-183362431' with handler 'Microsoft.Compute.CustomScriptExtension' already added or specified in input.

An example of this issue:

Azure/azure-devtestlab#251

Should the task remove the extension once completed?

@sachinma
Copy link
Member

@RoopeshNair should we start doing it?

@RoopeshNair
Copy link
Member

@gregpakes, Fair feedback, we are working on a newer version of the Azure File Copy task which relies on VM extension instead of WinRM to copy the files. We will look into cleaning it up, post deployment. However it will be a while before we can get to it.

As a workaround, for now, you can uninstall the extension using script, if found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants