none
Is it possible to create Office 365 user accounts using a PowerShell script? RRS feed

  • Question

  • Hi All,

    Is it possible to create Office 365 user accounts using a PowerShell script? I know how to create SharePoint Online accounts using Add-SPOUser, Get-SPOUser and Set-SPOUser if the Office 365 user account has already been created on the Office 365 Admin Page.

    The reason I want to create Office 365 user accounts using a PowerShell script, is I need to add and then later delete Office 365 accounts for demos I will be running. It takes a long time to create them manually and this is why I would like to use a PowerShell script.

    If it is possible can you please let me know if I first need to install a PowerShell application, and can you also post some example PowerShell code. Create, Disable, and Delete Office 365 accounts.

    I hope you can help
    Colin


    • Edited by ceBlueSky Sunday, February 5, 2017 11:16 PM
    Sunday, February 5, 2017 11:13 PM

Answers

All replies