Supress Add-AzureRmAccount credentials popup

Welcome Forums General PowerShell Q&A Supress Add-AzureRmAccount credentials popup

This topic contains 1 reply, has 2 voices, and was last updated by

2 years, 3 months ago.

  • Author
  • #61792

    Points: 0
    Rank: Member

    Hi there,

    I am trying to run Add-AzureRmAccount cmd by passing id and pwd using System.Management.Automation.PSCredential. But I am getting an error "Sequence Contains no elements" error. As a workaround I have added AAD account( and it is still not working.

    Any help is appreciated.

  • #61937

    Points: 1,811
    Helping HandTeam Member
    Rank: Community Hero

    That's not an awful lot of detail, unfortunately. Are you saying you're trying to hardcode a password, rather than type it in? Can you share any of the commands you're attempting to run? Without seeing what you're typing, it's pretty hard to guess what might be wrong.

The topic ‘Supress Add-AzureRmAccount credentials popup’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort