Skip to content

switch to the Az module for Azure #67

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

Merged
merged 3 commits into from
Oct 2, 2018

Conversation

TylerLeonhardt
Copy link
Member

@TylerLeonhardt TylerLeonhardt commented Oct 1, 2018

Az is the future. This uses that and changes the cmdlet we use.

fixes #48

@daxian-dbw
Copy link
Contributor

// TODO: remove this when we figure out why it fixed #48
_pwsh.AddCommand("Microsoft.PowerShell.Core\\Import-Module").AddParameter("Name", "AzureRm.Netcore").InvokeAndClearCommands();
AuthenticateToAzure();

I guess we need to change the module name AzureRm.Netcore here too.

@TylerLeonhardt
Copy link
Member Author

awesome - I was able to remove that line which means #48 will be fixed 😄

@TylerLeonhardt TylerLeonhardt merged commit 55a218d into Azure:dev Oct 2, 2018
@TylerLeonhardt TylerLeonhardt deleted the switch-to-az branch October 2, 2018 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Autoloading the AzureRm module doesn't work in worker - but works fine interactively
2 participants