Cannot connect using Connect-MsolService The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experiencePowerShell says “execution of scripts is disabled on this system.”How to connect & deactivate Azure Active Directory through PowerShellError - Connect-MsolService : Your credentials could not be authenticated. Try againCannot login to Azure Powershell without an interactive promptAzure AD - Powershell -Federation Metadata Url is missing for federated user'Connect-MsolService' is not recognized as the name of a cmdletAzure PowerShell Connect-AzureAD and Login-AzureRmAccountUsing AzureAD PowerShell CmdLets on TFS Release ManagerUnable to Connect-MsolService in powershellPowershell Connect-AzureAD error “accessing_ws_metadata_exchange_failed”

Does Parliament need to approve the new Brexit delay to 31 October 2019?

How did the crowd guess the pentatonic scale in Bobby McFerrin's presentation?

Can a flute soloist sit?

How do spell lists change if the party levels up without taking a long rest?

Can withdrawing asylum be illegal?

Why can I use a list index as an indexing variable in a for loop?

Variable with quotation marks "$()"

How many cones with angle theta can I pack into the unit sphere?

Why can't wing-mounted spoilers be used to steepen approaches?

Example of compact Riemannian manifold with only one geodesic.

Is there a writing software that you can sort scenes like slides in PowerPoint?

Can we generate random numbers using irrational numbers like π and e?

How to handle characters who are more educated than the author?

Working through the single responsibility principle (SRP) in Python when calls are expensive

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?

Is every episode of "Where are my Pants?" identical?

How to read αἱμύλιος or when to aspirate

One-dimensional Japanese puzzle

Can the DM override racial traits?

Can I visit the Trinity College (Cambridge) library and see some of their rare books

Why doesn't a hydraulic lever violate conservation of energy?

Do I have Disadvantage attacking with an off-hand weapon?

How do I design a circuit to convert a 100 mV and 50 Hz sine wave to a square wave?

How to support a colleague who finds meetings extremely tiring?



Cannot connect using Connect-MsolService



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
The Ask Question Wizard is Live!
Data science time! April 2019 and salary with experiencePowerShell says “execution of scripts is disabled on this system.”How to connect & deactivate Azure Active Directory through PowerShellError - Connect-MsolService : Your credentials could not be authenticated. Try againCannot login to Azure Powershell without an interactive promptAzure AD - Powershell -Federation Metadata Url is missing for federated user'Connect-MsolService' is not recognized as the name of a cmdletAzure PowerShell Connect-AzureAD and Login-AzureRmAccountUsing AzureAD PowerShell CmdLets on TFS Release ManagerUnable to Connect-MsolService in powershellPowershell Connect-AzureAD error “accessing_ws_metadata_exchange_failed”



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








2















Im using powershell to connect to azure but I´m not able to connect using Connect-MsolService. When I try using Connect-AzureAD it shows a prompt asking for my credentials and I enter it and it connects normally. But when I try using Connect-MsolService I put the same credentials on the prompt but it fails saying that the email or password is wrong (but its the same credentials for the Connect-AzureAD command).










share|improve this question
























  • The documentation of this modules (MSOnline) states that this is an older version of what is now "AzureAD" and encourages the use of AzureAD2 instead. so i guess this might just be an issue with an outdated module. why do you need "connect-msolservice" ? doesn't "connect-azuread" do the same thing essentially ?

    – D.J.
    Mar 8 at 12:36












  • because I need to use the cmdlets to troubleshoot a custom domain name verification. And I just found it on msol. Like Confirm-MSolDomain -DomainName

    – gog
    Mar 8 at 12:38












  • You can use Confirm-AzureADDomain docs.microsoft.com/en-us/powershell/module/azuread/…

    – Ken W MSFT
    Mar 8 at 12:56

















2















Im using powershell to connect to azure but I´m not able to connect using Connect-MsolService. When I try using Connect-AzureAD it shows a prompt asking for my credentials and I enter it and it connects normally. But when I try using Connect-MsolService I put the same credentials on the prompt but it fails saying that the email or password is wrong (but its the same credentials for the Connect-AzureAD command).










share|improve this question
























  • The documentation of this modules (MSOnline) states that this is an older version of what is now "AzureAD" and encourages the use of AzureAD2 instead. so i guess this might just be an issue with an outdated module. why do you need "connect-msolservice" ? doesn't "connect-azuread" do the same thing essentially ?

    – D.J.
    Mar 8 at 12:36












  • because I need to use the cmdlets to troubleshoot a custom domain name verification. And I just found it on msol. Like Confirm-MSolDomain -DomainName

    – gog
    Mar 8 at 12:38












  • You can use Confirm-AzureADDomain docs.microsoft.com/en-us/powershell/module/azuread/…

    – Ken W MSFT
    Mar 8 at 12:56













2












2








2








Im using powershell to connect to azure but I´m not able to connect using Connect-MsolService. When I try using Connect-AzureAD it shows a prompt asking for my credentials and I enter it and it connects normally. But when I try using Connect-MsolService I put the same credentials on the prompt but it fails saying that the email or password is wrong (but its the same credentials for the Connect-AzureAD command).










share|improve this question
















Im using powershell to connect to azure but I´m not able to connect using Connect-MsolService. When I try using Connect-AzureAD it shows a prompt asking for my credentials and I enter it and it connects normally. But when I try using Connect-MsolService I put the same credentials on the prompt but it fails saying that the email or password is wrong (but its the same credentials for the Connect-AzureAD command).







azure powershell






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 8 at 12:28







gog

















asked Mar 8 at 12:15









goggog

2,82884084




2,82884084












  • The documentation of this modules (MSOnline) states that this is an older version of what is now "AzureAD" and encourages the use of AzureAD2 instead. so i guess this might just be an issue with an outdated module. why do you need "connect-msolservice" ? doesn't "connect-azuread" do the same thing essentially ?

    – D.J.
    Mar 8 at 12:36












  • because I need to use the cmdlets to troubleshoot a custom domain name verification. And I just found it on msol. Like Confirm-MSolDomain -DomainName

    – gog
    Mar 8 at 12:38












  • You can use Confirm-AzureADDomain docs.microsoft.com/en-us/powershell/module/azuread/…

    – Ken W MSFT
    Mar 8 at 12:56

















  • The documentation of this modules (MSOnline) states that this is an older version of what is now "AzureAD" and encourages the use of AzureAD2 instead. so i guess this might just be an issue with an outdated module. why do you need "connect-msolservice" ? doesn't "connect-azuread" do the same thing essentially ?

    – D.J.
    Mar 8 at 12:36












  • because I need to use the cmdlets to troubleshoot a custom domain name verification. And I just found it on msol. Like Confirm-MSolDomain -DomainName

    – gog
    Mar 8 at 12:38












  • You can use Confirm-AzureADDomain docs.microsoft.com/en-us/powershell/module/azuread/…

    – Ken W MSFT
    Mar 8 at 12:56
















The documentation of this modules (MSOnline) states that this is an older version of what is now "AzureAD" and encourages the use of AzureAD2 instead. so i guess this might just be an issue with an outdated module. why do you need "connect-msolservice" ? doesn't "connect-azuread" do the same thing essentially ?

– D.J.
Mar 8 at 12:36






The documentation of this modules (MSOnline) states that this is an older version of what is now "AzureAD" and encourages the use of AzureAD2 instead. so i guess this might just be an issue with an outdated module. why do you need "connect-msolservice" ? doesn't "connect-azuread" do the same thing essentially ?

– D.J.
Mar 8 at 12:36














because I need to use the cmdlets to troubleshoot a custom domain name verification. And I just found it on msol. Like Confirm-MSolDomain -DomainName

– gog
Mar 8 at 12:38






because I need to use the cmdlets to troubleshoot a custom domain name verification. And I just found it on msol. Like Confirm-MSolDomain -DomainName

– gog
Mar 8 at 12:38














You can use Confirm-AzureADDomain docs.microsoft.com/en-us/powershell/module/azuread/…

– Ken W MSFT
Mar 8 at 12:56





You can use Confirm-AzureADDomain docs.microsoft.com/en-us/powershell/module/azuread/…

– Ken W MSFT
Mar 8 at 12:56












1 Answer
1






active

oldest

votes


















0














You should install the latest AzureAD module.
https://docs.microsoft.com/en-us/powershell/module/azuread/



Logon with Connect-AzureAD



Confirm Domain with Confirm-AzureADDomain






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55063054%2fcannot-connect-using-connect-msolservice%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    You should install the latest AzureAD module.
    https://docs.microsoft.com/en-us/powershell/module/azuread/



    Logon with Connect-AzureAD



    Confirm Domain with Confirm-AzureADDomain






    share|improve this answer



























      0














      You should install the latest AzureAD module.
      https://docs.microsoft.com/en-us/powershell/module/azuread/



      Logon with Connect-AzureAD



      Confirm Domain with Confirm-AzureADDomain






      share|improve this answer

























        0












        0








        0







        You should install the latest AzureAD module.
        https://docs.microsoft.com/en-us/powershell/module/azuread/



        Logon with Connect-AzureAD



        Confirm Domain with Confirm-AzureADDomain






        share|improve this answer













        You should install the latest AzureAD module.
        https://docs.microsoft.com/en-us/powershell/module/azuread/



        Logon with Connect-AzureAD



        Confirm Domain with Confirm-AzureADDomain







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 10 at 2:46









        HannelHannel

        7651411




        7651411





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55063054%2fcannot-connect-using-connect-msolservice%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            1928 у кіно

            Захаров Федір Захарович

            Ель Греко