{"id":2149,"date":"2019-06-20T01:01:57","date_gmt":"2019-06-20T06:31:57","guid":{"rendered":"https:\/\/www.filerepairtools.com\/tips\/?p=2149"},"modified":"2026-03-07T22:51:58","modified_gmt":"2026-03-07T22:51:58","slug":"create-office-365-account-using-admin-center-or-powershell","status":"publish","type":"post","link":"https:\/\/filerepairtools.com\/tips\/create-office-365-account-using-admin-center-or-powershell\/","title":{"rendered":"Create Office 365 Account Using Admin Center or PowerShell"},"content":{"rendered":"<p>Office 365 is one of the best email application by which one can send and receive messages from any time and anywhere. The suite allows to manage several applications from a single account and all this is possible because of the cloud-based platform. Another advantage of Office 365 is it can be accessed from laptops, computers, Android phones, tablets and other devices. You can either install it directly or add the Office 365 account via Admin Center.<\/p>\n<p>The Admin center provides a graphical user interface that makes it easy to add the Office 365 account. So check out the steps to configure Office 365 account via Admin center and activate it. But before that make sure you have all the permissions to make changes to the mailbox and modify settings. You may require administrative privileges for adding Office 365 account.<\/p>\n<h3><strong>Add Office 365 Account Via Admin Center<\/strong><\/h3>\n<ul>\n<li>Sign in to Office 365 Administrator account<\/li>\n<li>When you sign in, the Office 365 admin dashboard will open<\/li>\n<li>On Office 365, click on Admin and a new window will open<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2150\" src=\"https:\/\/www.filerepairtools.com\/tips\/wp-content\/uploads\/2019\/06\/office-365-add-user.png\" alt=\"office 365 add user\" width=\"550\" height=\"231\"><\/p>\n<ul>\n<li>Now browse to Users then click on Active Users and select Add a new user<\/li>\n<li>A new window will open enter the details for the user for which you want to create account<\/li>\n<li>Enter the first name, last name, display name and Office 365 username<\/li>\n<li>You can select the option to generate password or choose the option to prompt for password on first login<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2151\" src=\"https:\/\/www.filerepairtools.com\/tips\/wp-content\/uploads\/2019\/06\/office-365-admin-add-user.png\" alt=\"office 365 admin add user\" width=\"437\" height=\"555\"><\/p>\n<ul>\n<li>Now click on the Add button and then a new user will be created<\/li>\n<li>The user will be asked to enter the password on first login, in this way you can add the Office 365 account.<\/li>\n<\/ul>\n<p>Another method to add Office 365 account is via PowerShell method. The PowerShell method requires certain permissions to add the Office 365 account<\/p>\n<p><strong>Create Office 365 Account Via PowerShell<\/strong><\/p>\n<p>Prerequisites before adding the Office 365 account are<\/p>\n<ul>\n<li>Global Admin role to Office 365 account<\/li>\n<li>.NET Framework 4.5 and Windows Management Framework 4.0<\/li>\n<li>Install Microsoft Online Services Sign-in Assistance<\/li>\n<\/ul>\n<p>If all the requirements are met and there is no problem in admin permissions, then start to add Office 365 account via PowerShell by following steps<\/p>\n<ul>\n<li>Go to Start and type Windows PowerShell<\/li>\n<li>Right click on the icon that appears and selects Run as Administrator<\/li>\n<li>When the command prompt opens install Azure Active Directory and MSOnline Module<\/li>\n<\/ul>\n<p>Type the command<\/p>\n<pre>Install-Module \u2013Name Azure AD\n\nInstall-Module&nbsp;\n\u2013Name MSOnline<\/pre>\n<ul>\n<li>The next step is to connect Office 365 to Cloud by following command<\/li>\n<\/ul>\n<pre style=\"text-align: left;\">$Credential = Get-Credential\n\n$O365 = New-PSSession\n\n-Configuration Name Microsoft. Exchange -Connection Uri\n\nhttps:\/\/outlook.office365.com\/powershell-liveid\/ -Credential $Cred\n\n-Authentication Basic -Allow Redirection<\/pre>\n<ul>\n<li>Now Assign PS Session to the Office 365 account<\/li>\n<\/ul>\n<pre>Import-PSSession $O365<\/pre>\n<ul>\n<li>The next step is to connect PowerShell to online services<\/li>\n<\/ul>\n<pre>Connect-MsolService \u2013Credential\n\n$O365<\/pre>\n<ul>\n<li>Check the connection verification whether you are connected or not by following command<\/li>\n<\/ul>\n<pre>Get-msoluser<\/pre>\n<ul>\n<li>If you are connected then the mailbox list will appear else the MSolService will show the error message<\/li>\n<li>Now when the mailbox list appear create new user in Office 365 by the following command<\/li>\n<\/ul>\n<pre>New-MsolUser -UserPrincipalName\n\nRam@officemigration.onmicrosoft.com.onmicrosoft.com -DisplayName \"Ram Shyam\" -FirstName \u201cram\u201d -LastName \u201cshyam\u201d<\/pre>\n<ul>\n<li>It will auto-generate the password after creating the account. The password can be changed by following command<\/li>\n<\/ul>\n<pre>Set-MsolUserPassword\n\n\u2013UserPrincipalNameh ram@ officemigration.onmicrosoft.com -NewPassword myP@S$rd<\/pre>\n<p>The Office 365 account will be created. In this way you can easily add the Office 365 account via PowerShell method or via Admin Center. So create the Office 365 mailbox and start using it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Office 365 is one of the best email application by which one can send and receive messages from any time and anywhere. The suite allows to manage several applications from a single account and all this is possible because of the cloud-based platform. Another advantage of Office 365 is it can be accessed from laptops, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2219,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-2149","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-recovery"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/filerepairtools.com\/tips\/wp-json\/wp\/v2\/posts\/2149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/filerepairtools.com\/tips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/filerepairtools.com\/tips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/filerepairtools.com\/tips\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/filerepairtools.com\/tips\/wp-json\/wp\/v2\/comments?post=2149"}],"version-history":[{"count":2,"href":"https:\/\/filerepairtools.com\/tips\/wp-json\/wp\/v2\/posts\/2149\/revisions"}],"predecessor-version":[{"id":7705,"href":"https:\/\/filerepairtools.com\/tips\/wp-json\/wp\/v2\/posts\/2149\/revisions\/7705"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/filerepairtools.com\/tips\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/filerepairtools.com\/tips\/wp-json\/wp\/v2\/media?parent=2149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/filerepairtools.com\/tips\/wp-json\/wp\/v2\/categories?post=2149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/filerepairtools.com\/tips\/wp-json\/wp\/v2\/tags?post=2149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}