{"id":137117,"date":"2023-05-31T16:11:15","date_gmt":"2023-05-31T16:11:15","guid":{"rendered":"https:\/\/www.stellarinfo.com\/blog\/?p=137117"},"modified":"2026-01-22T12:08:04","modified_gmt":"2026-01-22T12:08:04","slug":"import-pst-to-office365-with-powershell","status":"publish","type":"post","link":"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/","title":{"rendered":"How to Import PST Files into Office \u200d365 with PowerShell?"},"content":{"rendered":"<?xml encoding=\"utf-8\" ?><?xml encoding=\"utf-8\" ?><p>Office 365 &ndash; a cloud-based service by Microsoft &ndash; facilitates accessing emails, contacts, and other mailbox items anytime, anywhere, and from any device. These and various other reasons compel the users to migrate to this cloud-based platform. As Office 365 supports PST file, you can import your data into this platform in the form of PST files. For this, there are various methods available. You can use PowerShell to import PST files into Office 365 or use a professional PST to Office 365 migration tool &ndash; as explained this comprehensive guide.<\/p><h2 class=\"wp-block-heading\" id=\"how-to-import-pst-files-into-office-365-(microsoft-365)-with-powershell?\">How to Import PST Files into Office 365 (Microsoft 365) with PowerShell?<\/h2><p>There is a PowerShell command &ndash; <strong>New-MailboxImportRequest,<\/strong> which is used for importing PST files into Exchange Server. However, <a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/module\/exchangepowershell\/new-mailboximportrequest?view=exchange-ps\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">this command is not supported in Microsoft 365<\/a> (Exchange Online). Below, we will be explaining the stepwise process <a href=\"https:\/\/www.stellarinfo.com\/article\/use-network-upload-import-pst-into-office-365.php\">import PST files into Microsoft 365 using the Network Upload method<\/a>.<\/p><h3 class=\"wp-block-heading\">Step 1: Prepare Your System and Assign Permissions<\/h3><p>Before you begin importing your PST files into Microsoft 365, you need to prepare your system and assign the permissions. Follow the below instructions to prepare your system for PST import:<\/p><ul class=\"wp-block-list\">\n<li>Download the Azure AzCopy tool on your system.<\/li>\n\n\n\n<li>Ensure that you have sufficient administrative permissions to perform the import process.<\/li>\n\n\n\n<li>Configure your Microsoft 365 tenant and create mailboxes for the users to import the PST files.<\/li>\n\n\n\n<li>Assign the Mailbox Import Export role in Microsoft 365.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"679\" height=\"494\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-roles-admin.jpg\" alt=\"select import export in EAC\" class=\"wp-image-189442 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-roles-admin.jpg 679w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-roles-admin-300x218.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-roles-admin-150x109.jpg 150w\" sizes=\"auto, (max-width: 679px) 100vw, 679px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>Export the users&rsquo; mailboxes to PST format and then copy all the PST files that you need to import into Microsoft 365 in a separate folder with proper names.<\/li>\n\n\n\n<li>Ensure the folder containing the PST file is accessible.<\/li>\n<\/ul><h3 class=\"wp-block-heading\">Step 2: Create Mailbox Mapping File for PST Migration<\/h3><p>Before you start migrating your PST files to Microsoft 365, you need to create a CSV mapping file to map the PST files to the user accounts in Microsoft 365. To create a mapping file, follow these steps:<\/p><ul class=\"wp-block-list\">\n<li>Download this <a href=\"https:\/\/go.microsoft.com\/fwlink\/p\/?LinkId=544717\">sample CSV template<\/a> file or create a new CSV file containing the following columns: FilePath, Name, Mailbox, and TargetRootFolder details.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"681\" height=\"99\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mapping-sheet.jpg\" alt=\"upload mapping (CSV) file\" class=\"wp-image-189443 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mapping-sheet.jpg 681w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mapping-sheet-300x44.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mapping-sheet-150x22.jpg 150w\" sizes=\"auto, (max-width: 681px) 100vw, 681px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>Open the CSV sheet in MS Excel or Google Sheets.<\/li>\n\n\n\n<li>Replace the PST file name and the user account details in the CSV sheet to map the PST with users&rsquo; email accounts on Microsoft 365 along with other required details.<\/li>\n<\/ul><blockquote class=\"note_alert\">\n<p><strong>Tip<\/strong> &ndash; <em>Avoid using spaces, uppercase letters, or special characters while preparing the PST files for the import job.<\/em><\/p>\n<\/blockquote><p>Once you have populated the details, save the CSV file and follow the next step to create a PST import job.<\/p><h3 class=\"wp-block-heading\">Step 3: Create a PST Import Job and Import PST Files into Microsoft 365<\/h3><p>To create a PST import job in Microsoft 365, follow these steps:<\/p><ul class=\"wp-block-list\">\n<li>Open and log in to Microsoft 365 as a global administrator.<\/li>\n\n\n\n<li>Go to <strong>Data lifecycle management<\/strong> &gt; <strong>Microsoft 365<\/strong>.<\/li>\n\n\n\n<li>Click on the <strong>Import<\/strong> tab.<\/li>\n\n\n\n<li>Choose <strong>New Import Job<\/strong>. This will start a new Import Job wizard.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"303\" height=\"194\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-newjob.jpg\" alt=\"create PST import job\" class=\"wp-image-189444 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-newjob.jpg 303w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-newjob-300x192.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-newjob-150x96.jpg 150w\" sizes=\"auto, (max-width: 303px) 100vw, 303px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>Name the import job and select <strong>Upload your data<\/strong>.<\/li>\n\n\n\n<li>Click <strong>Show network upload SAS URL<\/strong> and click <strong>Copy to clipboard<\/strong> button to copy this SAS URL into your Notepad. This SAS URL is critical to upload the PST file to Azure cloud storage. So, keep it safe and secure.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"683\" height=\"340\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/steps.jpg\" alt=\"copy SAS URL\" class=\"wp-image-189447 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/steps.jpg 683w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/steps-300x149.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/steps-150x75.jpg 150w\" sizes=\"auto, (max-width: 683px) 100vw, 683px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>Click <strong>Download Azure AzCopy<\/strong> to download and install the Microsoft Azure Storage tool. The AzCopy tool helps to quickly upload PST files (20 GB or smaller size) to Microsoft 365.<\/li>\n\n\n\n<li>Once the installation is complete, open <strong>PowerShell<\/strong> on your local computer. Navigate to Desktop where you have stored the Azure AzCopy tool and run the following PowerShell command to upload the PST files:<\/li>\n<\/ul><pre class=\"wp-block-code command_container\"><code><strong>azcopy.exe copy &ldquo;PSTFolder or Location of pst files&rdquo; &ldquo;sas url=&rdquo;&gt;&rdquo;<\/strong><\/code><\/pre><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"681\" height=\"356\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/command-remove-name.jpg\" alt=\"Run powershell command to import PST to office 365\" class=\"wp-image-189448 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/command-remove-name.jpg 681w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/command-remove-name-300x157.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/command-remove-name-150x78.jpg 150w\" sizes=\"auto, (max-width: 681px) 100vw, 681px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>Once the PST upload operation is complete, go back to Microsoft Office 365 import process and select <strong>I&rsquo;m done uploading my files<\/strong> and <strong>I have access to the mapping file<\/strong>.<\/li>\n\n\n\n<li>Click <strong>Next<\/strong>.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"575\" height=\"367\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-checkboxes.jpg\" alt=\"mark checkboxes\" class=\"wp-image-189450 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-checkboxes.jpg 575w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-checkboxes-300x191.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-checkboxes-150x96.jpg 150w\" sizes=\"auto, (max-width: 575px) 100vw, 575px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>On the next screen, you need to upload and validate your CSV mapping file.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"676\" height=\"591\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mapping-file-validation.jpg\" alt=\"select mapping file\" class=\"wp-image-189451 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mapping-file-validation.jpg 676w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mapping-file-validation-300x262.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mapping-file-validation-150x131.jpg 150w\" sizes=\"auto, (max-width: 676px) 100vw, 676px\" \/><\/figure>\n<\/div><p>Once you&rsquo;re done, you can start the PST import wizard to successfully import the PST file into Microsoft 365. After the import, users can log in to Microsoft 365 (Outlook 365) to access all their emails, contacts, attachments, and other mail items.<\/p><h2 class=\"wp-block-heading\" id=\"things-to-consider-for-pst-to-office-365-migration\">Things to Consider for PST to Office 365 Migration<\/h2><p>During the upload or import process, you may experience issues that may prevent you from importing the PST files. To avoid issues, ensure the following:<\/p><ul class=\"wp-block-list\">\n<li>Make sure that you have all the necessary permissions and roles required to perform the migration.<\/li>\n\n\n\n<li>If you have decided to migrate PST to Microsoft 365 via your system, make sure that your network is configured correctly and working as intended. Also, ensure you have enough bandwidth available from your internet service provider.<\/li>\n\n\n\n<li>Make sure that your PST files are consistent and have no errors or bad\/corrupt items. For this, you can scan each PST file with SCANPST.exe, which will fix the bad items\/corruption or inconsistencies and prevent issues during the PST import process.<\/li>\n<\/ul><h2 class=\"wp-block-heading\" id=\"is-there-a-direct-way-to-import-pst-files-into-office-365?\">Is there a Direct Way to Import PST Files into Office 365?<\/h2><p>Yes, there is also a direct way to import PST into Office 365. This involves the use of a specialized PST to Office 365 migration tool. Stellar Migrator for Outlook is one such tool that is specifically developed to help users directly <a href=\"https:\/\/www.stellarinfo.com\/import-pst-to-office-365.php\">import PSTs into Office 365<\/a>. You can simply create PST migration job, connect to the target mailboxes, apply filters, and start the import PST job.<\/p><p>The tool automatically maps the PST files with the target mailboxes. You can also use advanced filters like (date, folder type, etc.) to control the PST migration process. It also lets you monitor the progress of the migration process &ndash; during and after the completion &ndash; in real-time. The tool also supports incremental migration.<\/p><p>Stellar Migrator for Outlook is a pay-per-use software. So, you have to pay for the number of PSTs (mailboxes) you&rsquo;re importing.<\/p><p>Let&rsquo;s see how to use this software to import PST files into Office 365:<\/p><ul class=\"wp-block-list\">\n<li>Go to the Stellar Migrator for Outlook&rsquo;s official webpage. Select the number of mailboxes (licenses) and click <strong>Buy Now <\/strong>to purchase the software.<\/li>\n\n\n\n<li><strong>Install<\/strong> it on your PC.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"285\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/software-1.jpg\" alt=\"select the number of mailboxes\" class=\"wp-image-189453 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/software-1.jpg 750w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/software-1-300x114.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/software-1-150x57.jpg 150w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li><strong>Launch<\/strong> the software.<\/li>\n\n\n\n<li>You will see the <strong>Create migration job<\/strong> window. Enter the <strong>Job Name<\/strong>. Choose whether you want to migrate a <strong>single mailbox<\/strong> or <strong>multiple mailboxes<\/strong>. Click <strong>Next<\/strong>.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"400\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/software-2.jpg\" alt=\"enter job name \" class=\"wp-image-189454 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/software-2.jpg 750w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/software-2-300x160.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/software-2-150x80.jpg 150w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/div><blockquote class=\"note_alert\">\n<p><strong>Note<\/strong> &ndash; <em>You can also select the <strong>Import CSV File<\/strong> option to migrate mailboxes using a CSV file with mapped source and target mailboxes.<\/em><\/p>\n<\/blockquote><ul class=\"wp-block-list\">\n<li>The next step is to select the <strong>Source<\/strong>. Click on <strong>Select Files<\/strong>.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"483\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-select-files.jpg\" alt=\"add pst files to import to office 365\" class=\"wp-image-189455 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-select-files.jpg 650w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-select-files-300x223.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-select-files-150x111.jpg 150w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>Select the PST files you want to import into Office 365 and click on <strong>Open<\/strong>.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"663\" height=\"470\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-open-1.jpg\" alt=\"select pst files\" class=\"wp-image-189456 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-open-1.jpg 663w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-open-1-300x213.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-open-1-150x106.jpg 150w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>Click on <strong>Next<\/strong>.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"481\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-1.jpg\" alt=\"go to the next screen\" class=\"wp-image-189457 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-1.jpg 650w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-1-300x222.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-1-150x111.jpg 150w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>The <strong>Select target<\/strong> window will appear. Choose <strong>Microsoft 365<\/strong> and click on <strong>Next<\/strong>.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"485\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-365-next.jpg\" alt=\"select target \" class=\"wp-image-189458 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-365-next.jpg 650w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-365-next-300x224.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-365-next-150x112.jpg 150w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>The Connect Target window will open. Click on <strong>Auto Registration<\/strong> and then select the Log in as Microsoft 365 Global Admin option.<\/li>\n<\/ul><blockquote class=\"note_alert\">\n<p><strong>Note<\/strong>: <em>You can select the Manual Registration option as well. You will have to enter the Email Address, Client ID, Directory, and Client Secret Value to proceed with migration.<\/em><\/p>\n<\/blockquote><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"483\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-auto-global-admin.jpg\" alt=\"enter global admin credentials\" class=\"wp-image-189459 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-auto-global-admin.jpg 650w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-auto-global-admin-300x223.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-auto-global-admin-150x111.jpg 150w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>The tool will begin the <strong>Auto app registration<\/strong> process. You will see the Microsoft Azure login screen. Select the account in which you want to migrate PST files.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"626\" height=\"434\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-email.jpg\" alt=\"enter azure credentials\" class=\"wp-image-189460 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-email.jpg 626w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-email-300x208.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-email-150x104.jpg 150w\" sizes=\"auto, (max-width: 626px) 100vw, 626px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>Enter the account password and <strong>Sign In<\/strong>.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"564\" height=\"535\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-signin.jpg\" alt=\"enter password\" class=\"wp-image-189461 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-signin.jpg 564w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-signin-300x285.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-signin-150x142.jpg 150w\" sizes=\"auto, (max-width: 564px) 100vw, 564px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>Next, select the account type and click on <strong>Continue<\/strong>.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"452\" height=\"431\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-option.jpg\" alt=\"select option\" class=\"wp-image-189462 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-option.jpg 452w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-option-300x286.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-option-150x143.jpg 150w\" sizes=\"auto, (max-width: 452px) 100vw, 452px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>It will again prompt you to sign in to your Microsoft Azure account using Office 365 credentials. <strong>Sign in<\/strong> to proceed.<\/li>\n\n\n\n<li>It will show another prompt. Choose the appropriate option to move further.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"551\" height=\"449\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/prompt.jpg\" alt=\"sign in to azure storage\" class=\"wp-image-189463 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/prompt.jpg 551w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/prompt-300x244.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/prompt-150x122.jpg 150w\" sizes=\"auto, (max-width: 551px) 100vw, 551px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>Once the Auto app registration is successful, click on <strong>OK<\/strong>.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"456\" height=\"331\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/completed-mark-ok.jpg\" alt=\"auto app registration\" class=\"wp-image-189464 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/completed-mark-ok.jpg 456w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/completed-mark-ok-300x218.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/completed-mark-ok-150x109.jpg 150w\" sizes=\"auto, (max-width: 456px) 100vw, 456px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>A green tick mark will appear next to the selected option. Click <strong>Next<\/strong>.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"483\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-2.jpg\" alt=\"Select Connect Target\" class=\"wp-image-189465 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-2.jpg 650w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-2-300x223.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-2-150x111.jpg 150w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>This will open the <strong>Target Mailboxes<\/strong> window, showing a list of all the target mailboxes present in Office 365. Click on <strong>Next<\/strong>.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"481\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-3.jpg\" alt=\"Select target mailboxes \" class=\"wp-image-189466 apply-gradient-on-post-images\" style=\"width:664px;height:auto\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-3.jpg 650w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-3-300x222.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-3-150x111.jpg 150w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>Now, the <strong>Map mailboxes<\/strong> screen will appear. Click on the &ldquo;<em>Pencil<\/em>&rdquo; icon in the <strong>Edit<\/strong> column if you want to change the target mailbox. Click on <strong>Next<\/strong>.<\/li>\n<\/ul><blockquote class=\"note_alert\">\n<p><strong>Note<\/strong>: <em>You can also click on &ldquo;<strong>Click to specify<\/strong>&rdquo; in the last column to specify a sub-folder within the selected target mailbox.<\/em><\/p>\n<\/blockquote><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"483\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-4.jpg\" alt=\"Select mailboxes \" class=\"wp-image-189467 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-4.jpg 650w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-4-300x223.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-4-150x111.jpg 150w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>Now, apply an appropriate <strong>Date filter<\/strong> from the given options. Then, click <strong>Next<\/strong>.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"486\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-5.jpg\" alt=\"Add Date filter\" class=\"wp-image-189468 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-5.jpg 650w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-5-300x224.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-5-150x112.jpg 150w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>Select the folders you want to migrate from the selected PST file. By default, all mailbox folders are selected. Click on <strong>Next<\/strong>.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"486\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-6.jpg\" alt=\"Select folder type filter\" class=\"wp-image-189469 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-6.jpg 650w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-6-300x224.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-next-6-150x112.jpg 150w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>On the next window, select the number of mailboxes to be imported simultaneously. Then, click on <strong>Next<\/strong>.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"485\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-drop-down-next.jpg\" alt=\"Select Max concurrency \" class=\"wp-image-189470 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-drop-down-next.jpg 650w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-drop-down-next-300x224.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-drop-down-next-150x112.jpg 150w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>On the final screen, you will see a <strong>Summary<\/strong> of the Import Job. Click on <strong>Finish<\/strong>.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"480\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-finish-1.jpg\" alt=\"Import the summary\" class=\"wp-image-189471 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-finish-1.jpg 650w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-finish-1-300x222.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-finish-1-150x111.jpg 150w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>You will see the <strong>Job created<\/strong> prompt. Click on <strong>OK<\/strong>.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"410\" height=\"160\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-ok.jpg\" alt=\"Created successfully\" class=\"wp-image-189472 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-ok.jpg 410w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-ok-300x117.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-ok-150x59.jpg 150w\" sizes=\"auto, (max-width: 410px) 100vw, 410px\" \/><\/figure>\n<\/div><ul class=\"wp-block-list\">\n<li>Click on <strong>Start<\/strong> in the ribbon to start the Import Job.<\/li>\n<\/ul><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"404\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-start.jpg\" alt=\"start the Import Job\" class=\"wp-image-189473 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-start.jpg 750w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-start-300x162.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/mark-start-150x81.jpg 150w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/div><p>The tool will migrate the mailboxes based on the selected criteria. You can track the PST to O365 migration progress in real-time.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"397\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/job.jpg\" alt=\"migrate the mailboxes based on the selected criteria\" class=\"wp-image-189474 apply-gradient-on-post-images\" srcset=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/job.jpg 750w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/job-300x159.jpg 300w, https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/job-150x79.jpg 150w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/div><h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2><p>In this guide, we have explained how to import PSTs into Office 365 by using PowerShell. To make the process simpler and faster, use <strong>Stellar Migrator for Outlook<\/strong>. It is a better option compared to the free manual method as you don&rsquo;t have to download any additional tool or use complicated PowerShell commands. You can use the tool to seamlessly import PSTs into Microsoft 365 with complete integrity and by maintaining original folder structure.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Office 365 &ndash; a cloud-based service by Microsoft &ndash; facilitates accessing emails,&hellip; <a class=\"more-link\" href=\"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/\">Continue reading <span class=\"screen-reader-text\">How to Import PST Files into Office \u200d365 with PowerShell?<\/span><\/a><\/p>\n","protected":false},"author":17,"featured_media":137138,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2960],"tags":[],"class_list":["post-137117","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-migrate-to-office-365","entry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Import PST Files into Office \u200d365 with PowerShell<\/title>\n<meta name=\"description\" content=\"To import PST file to O365 - Prepare System and Assign Permissions, Create PST Import Job and Import PST Files into M365 or using Stellar PST migration tool\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Import PST Files into Office \u200d365 with PowerShell\" \/>\n<meta property=\"og:description\" content=\"To import PST file to O365 - Prepare System and Assign Permissions, Create PST Import Job and Import PST Files into M365 or using Stellar PST migration tool\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/\" \/>\n<meta property=\"og:site_name\" content=\"Stellar Data Recovery Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-31T16:11:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-22T12:08:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/How-to-import-PST-to-Office-365-using-PowerShell.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Shelly Bhardwaj\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Shelly Bhardwaj\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/\"},\"author\":{\"name\":\"Shelly Bhardwaj\",\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/#\/schema\/person\/560294d29c29906f1a494397d89ac5b5\"},\"headline\":\"How to Import PST Files into Office \u200d365 with PowerShell?\",\"datePublished\":\"2023-05-31T16:11:15+00:00\",\"dateModified\":\"2026-01-22T12:08:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/\"},\"wordCount\":1481,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/How-to-import-PST-to-Office-365-using-PowerShell.jpg\",\"articleSection\":[\"Migrate to Office 365\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/\",\"url\":\"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/\",\"name\":\"How to Import PST Files into Office \u200d365 with PowerShell\",\"isPartOf\":{\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/How-to-import-PST-to-Office-365-using-PowerShell.jpg\",\"datePublished\":\"2023-05-31T16:11:15+00:00\",\"dateModified\":\"2026-01-22T12:08:04+00:00\",\"author\":{\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/#\/schema\/person\/560294d29c29906f1a494397d89ac5b5\"},\"description\":\"To import PST file to O365 - Prepare System and Assign Permissions, Create PST Import Job and Import PST Files into M365 or using Stellar PST migration tool\",\"breadcrumb\":{\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/#primaryimage\",\"url\":\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/How-to-import-PST-to-Office-365-using-PowerShell.jpg\",\"contentUrl\":\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/How-to-import-PST-to-Office-365-using-PowerShell.jpg\",\"width\":1000,\"height\":600,\"caption\":\"import PST to Office 365 using PowerShell\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.stellarinfo.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Import PST Files into Office \u200d365 with PowerShell?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/#website\",\"url\":\"https:\/\/www.stellarinfo.com\/blog\/\",\"name\":\"Stellar Data Recovery Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.stellarinfo.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/#\/schema\/person\/560294d29c29906f1a494397d89ac5b5\",\"name\":\"Shelly Bhardwaj\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/55b79705325614a5202bfcbe257c51b4bfd3229f8c27cd88856c412e9d171b8d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/55b79705325614a5202bfcbe257c51b4bfd3229f8c27cd88856c412e9d171b8d?s=96&d=mm&r=g\",\"caption\":\"Shelly Bhardwaj\"},\"description\":\"I am a Product Consultant and is associated with Stellar Data Recovery from last 8 years. I write about the latest technology tips and provide custom solutions related to Exchange Server, Office 365, MS Outlook, and many other Email Clients &amp; different flavors of OS Servers. Read More\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/shelly-bhardwaj\/\"],\"url\":\"https:\/\/www.stellarinfo.com\/blog\/author\/shelly\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Import PST Files into Office \u200d365 with PowerShell","description":"To import PST file to O365 - Prepare System and Assign Permissions, Create PST Import Job and Import PST Files into M365 or using Stellar PST migration tool","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/","og_locale":"en_US","og_type":"article","og_title":"How to Import PST Files into Office \u200d365 with PowerShell","og_description":"To import PST file to O365 - Prepare System and Assign Permissions, Create PST Import Job and Import PST Files into M365 or using Stellar PST migration tool","og_url":"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/","og_site_name":"Stellar Data Recovery Blog","article_published_time":"2023-05-31T16:11:15+00:00","article_modified_time":"2026-01-22T12:08:04+00:00","og_image":[{"width":1000,"height":600,"url":"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/How-to-import-PST-to-Office-365-using-PowerShell.jpg","type":"image\/jpeg"}],"author":"Shelly Bhardwaj","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Shelly Bhardwaj","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/#article","isPartOf":{"@id":"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/"},"author":{"name":"Shelly Bhardwaj","@id":"https:\/\/www.stellarinfo.com\/blog\/#\/schema\/person\/560294d29c29906f1a494397d89ac5b5"},"headline":"How to Import PST Files into Office \u200d365 with PowerShell?","datePublished":"2023-05-31T16:11:15+00:00","dateModified":"2026-01-22T12:08:04+00:00","mainEntityOfPage":{"@id":"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/"},"wordCount":1481,"commentCount":0,"image":{"@id":"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/#primaryimage"},"thumbnailUrl":"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/How-to-import-PST-to-Office-365-using-PowerShell.jpg","articleSection":["Migrate to Office 365"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/","url":"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/","name":"How to Import PST Files into Office \u200d365 with PowerShell","isPartOf":{"@id":"https:\/\/www.stellarinfo.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/#primaryimage"},"image":{"@id":"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/#primaryimage"},"thumbnailUrl":"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/How-to-import-PST-to-Office-365-using-PowerShell.jpg","datePublished":"2023-05-31T16:11:15+00:00","dateModified":"2026-01-22T12:08:04+00:00","author":{"@id":"https:\/\/www.stellarinfo.com\/blog\/#\/schema\/person\/560294d29c29906f1a494397d89ac5b5"},"description":"To import PST file to O365 - Prepare System and Assign Permissions, Create PST Import Job and Import PST Files into M365 or using Stellar PST migration tool","breadcrumb":{"@id":"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/#primaryimage","url":"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/How-to-import-PST-to-Office-365-using-PowerShell.jpg","contentUrl":"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2023\/05\/How-to-import-PST-to-Office-365-using-PowerShell.jpg","width":1000,"height":600,"caption":"import PST to Office 365 using PowerShell"},{"@type":"BreadcrumbList","@id":"https:\/\/www.stellarinfo.com\/blog\/import-pst-to-office365-with-powershell\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.stellarinfo.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Import PST Files into Office \u200d365 with PowerShell?"}]},{"@type":"WebSite","@id":"https:\/\/www.stellarinfo.com\/blog\/#website","url":"https:\/\/www.stellarinfo.com\/blog\/","name":"Stellar Data Recovery Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.stellarinfo.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.stellarinfo.com\/blog\/#\/schema\/person\/560294d29c29906f1a494397d89ac5b5","name":"Shelly Bhardwaj","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.stellarinfo.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/55b79705325614a5202bfcbe257c51b4bfd3229f8c27cd88856c412e9d171b8d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/55b79705325614a5202bfcbe257c51b4bfd3229f8c27cd88856c412e9d171b8d?s=96&d=mm&r=g","caption":"Shelly Bhardwaj"},"description":"I am a Product Consultant and is associated with Stellar Data Recovery from last 8 years. I write about the latest technology tips and provide custom solutions related to Exchange Server, Office 365, MS Outlook, and many other Email Clients &amp; different flavors of OS Servers. Read More","sameAs":["https:\/\/www.linkedin.com\/in\/shelly-bhardwaj\/"],"url":"https:\/\/www.stellarinfo.com\/blog\/author\/shelly\/"}]}},"_links":{"self":[{"href":"https:\/\/www.stellarinfo.com\/blog\/wp-json\/wp\/v2\/posts\/137117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.stellarinfo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.stellarinfo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.stellarinfo.com\/blog\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.stellarinfo.com\/blog\/wp-json\/wp\/v2\/comments?post=137117"}],"version-history":[{"count":15,"href":"https:\/\/www.stellarinfo.com\/blog\/wp-json\/wp\/v2\/posts\/137117\/revisions"}],"predecessor-version":[{"id":189490,"href":"https:\/\/www.stellarinfo.com\/blog\/wp-json\/wp\/v2\/posts\/137117\/revisions\/189490"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.stellarinfo.com\/blog\/wp-json\/wp\/v2\/media\/137138"}],"wp:attachment":[{"href":"https:\/\/www.stellarinfo.com\/blog\/wp-json\/wp\/v2\/media?parent=137117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.stellarinfo.com\/blog\/wp-json\/wp\/v2\/categories?post=137117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.stellarinfo.com\/blog\/wp-json\/wp\/v2\/tags?post=137117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}