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
Documentation: Connect-AzureRmAccount is Wrong? #552
Comments
I was looking over the documentation source, and it looks like it is present already, but that the website itself has not been updated. |
@Pytry -could you kindly provide the page where the information is missing? |
I was seeing it here:
But that no longer seems to be out of date. |
Ah, actually it looks like it is here still. https://docs.microsoft.com/en-us/powershell/azure/authenticate-azureps?view=azurermps-5.7.0 |
FWIW, I see the same behavior with PowerShell 6.0.1 on MacOS. There are a few confusing things here:
|
For me, I was using automation account in Azure. For me, the fix was to update the Automation Module. See https://docs.microsoft.com/en-us/azure/automation/automation-update-azure-modules |
I seem to have a similar issue but neither command are working
I've also done this: http://jessicadeen.com/tech/updated-powershell-core-and-azurerm-netcore-preview-module-install-scripts-for-ubuntu-and-os-x/ And get:
|
Is anyone looking at this? It's exxtremely confusing to be used to Login-AzureRMAccount and then see a non-existant command being used. The commands aren't alias of each other either, so which one is it? |
@twitchax This appears to be an engineering problem on non-Win platforms. Can the PG investigate? |
That would be great if that could happen:D It would help my team feel better about adoption as well. |
I am not able to repro this in Ubuntu 16.04 with AzureRM.Netcore 0.11.0, and if this is a product issue, then it needs to be filled out here with the repro steps. @dombarnes, your issue might be caused by also having AzureRM 6.0.1 installed. That module is Framework-only, and its presence may be causing loading issues. @stofte, |
I am having the same issue as @dombarnes. Here is my setup:
Major Minor Patch PreReleas BuildLabel 6 0 2
Name Version Path Azure.AnalysisServices 0.5.1 /usr/local/share/powershell/M... |
@TommyKTheDJ please file a product bug: https://github.com/azure/azure-powershell/issues Closing this as a product issue. |
@TommyKTheDJ, this is because you have both the Netcore modules, and the .NET Framework modules installed. Please remove the .NET Framework modules, since they will not work. |
Thanks @twitchax - that has fixed it for me |
For the uninitiated...which Module is the .Net Framework from the list above? |
@olivelawn Any module which ends in |
@olivelawn, also, we are moving towards a NET Standard module system soon, that will work on both, and not require a PhD in PowerShel Gallery to figure out. :) |
Here is another with the wrong command: https://docs.microsoft.com/en-us/azure/automation/automation-first-runbook-textual-powershell |
@gerardo001, sorry, what is wrong with that doc?
|
@gerardo001, did you upgrade your account to the latest Azure PowerShell version in Automation? |
Cool. In that case, you probably have an older version of Azure PowerShell. @eamonoreilly can likely help route this issue in the Automation docs. |
@twitchax I will add a note to the doc about the old cmdlet alias. And what to do. Similar to what I recently put here https://docs.microsoft.com/en-us/azure/automation/automation-first-runbook-graphical#add-authentication |
Version: powershell_6.0.2-1.ubuntu.16.04_amd64.deb
After installing the AzureRm module, when I try to follow the documentation and connect to azure with the following:
I get this error back:
However, if I use this:
Then I get the expected device login message:
I'm not sure if the command is different on Ubuntu as it is from other flavors of linux or on windows, but either way the documentation needs to be updated to reflect the correct command for logging into Azure.
The text was updated successfully, but these errors were encountered: