How can we improve Azure Automation service?

Fix dependencies for Azure Active Directory management

When you run Connect-MsolService from a runbook, you get this error message: Connect-MsolService : The type initializer for 'Microsoft.Online.Administration.Automation.ConnectMsolService' threw an
exception.

This issue is described in the following KB
http://support.microsoft.com/kb/2887306/en

Please solve this, so we don't need to add VM to manage this.

163 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Anders EideAnders Eide shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
    completed  ·  Beth CooperBeth Cooper responded  · 

    The MSOnline module is now available on the PowerShell Gallery: http://www.powershellgallery.com/packages/MSOnline/1.0.

    You can retrieve this module to be used in Automation by clicking the “Deploy to Azure Automation” button from PowerShell Gallery.

    You can also import it directly from Automation by going to your Automation account > Assets > Modules > Browse Gallery > finding MSOnline > and clicking Import.

    9 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base