<br />
<b>Warning</b>:  "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in <b>/home/servertools/public_html/blog/wp-content/themes/schema/schema/options/php-po/php-po.php</b> on line <b>187</b><br />
{"id":987,"date":"2018-08-17T09:55:02","date_gmt":"2018-08-17T09:55:02","guid":{"rendered":"http:\/\/www.stellarservertools.com\/blog\/?p=987"},"modified":"2022-04-19T06:33:18","modified_gmt":"2022-04-19T06:33:18","slug":"mailbox-export-request-command-failed-with-error-unabletoreadpstfolder","status":"publish","type":"post","link":"https:\/\/www.stellarservertools.com\/blog\/mailbox-export-request-command-failed-with-error-unabletoreadpstfolder\/","title":{"rendered":"Mailbox Export Request Command Failed with Error UnableToReadPSTFolder"},"content":{"rendered":"\n<p><strong><em>Summary: <\/em><\/strong><em>The error UnableToReadPSTFolder appears when a user attempts to export PST by using the New-MailboxExportRequest cmdlet in Exchange Management Shell. It occurs when the PST export process fails due to inadequate permissions, mailbox size, bad items, corruption, or any other reason. In this guide, we have discussed the UnableToReadPSTFolder error in detail and also addressed a few workaround steps to export PST from an online or offline Exchange mailbox database.<\/em><\/p>\n\n\n\n<p>There could be many reasons to export the PST file from a mailbox on the Exchange server. An Exchange administrator may export mailbox to PST for backup or migration of the mailbox from one server to another. Besides, it\u2019s the only granular backup option available in the MS Exchange server.<\/p>\n\n\n\n<p>One may also require to export mailbox to PST for email investigation or to reduce the mailbox size by moving the mailbox items in an Outlook importable PST format. In Exchange, admins can export mailbox to PST by using <em>Exchange Admin Center (EAC)<\/em> or <em>New-MailboxExportRequest cmdlet in Exchange Management Shell<\/em> <em>(EMS)<\/em>.<\/p>\n\n\n\n<p>By using these options, admins can export mailboxes (large or small) from Exchange database file (EDB) to Outlook importable PST file. However, sometimes the PST export process may fail and return an error such as <em>UnableToReadPSTFolder<\/em>. In such cases, you can follow the workarounds discussed in this post to fix the error and export PST.<\/p>\n\n\n\n<p><strong>NOTE:<\/strong>&nbsp;You can also use an EDB to PST converter software, such as&nbsp;Stellar Converter for EDB,&nbsp;to export mailboxes from Exchange EDB to PST in a few clicks. The software helps avoid all kinds of mailbox export errors or data loss and also recovers deleted mailboxes.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/cloud.stellarinfo.com\/micro\/StellarConverterforEDB.exe\"><img loading=\"lazy\" decoding=\"async\" width=\"213\" height=\"55\" src=\"https:\/\/www.stellarservertools.com\/blog\/wp-content\/uploads\/2019\/07\/free-download-large-1.gif\" alt=\"\" class=\"wp-image-1424\"\/><\/a><\/figure><\/div>\n\n\n\n<p><strong>About UnableToReadPSTFolder Error<\/strong><\/p>\n\n\n\n<p>When you create a PST export request for a specified mailbox by using the New-MailboxExportRequest, the command may fail after a while and display the following problem,<\/p>\n\n\n\n<p>FailureCode&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : -2146233088<br>FailureType&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : UnableToReadPSTFolderPermanentException<br>FailureSide&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : Target<br>Message&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : Error: Unable to read folder ID \u201833154\u2019. Check the PST file for possible<br>corruption. \u2013&gt; Heap id type does not match<\/p>\n\n\n\n<p><strong>If you check the log, the end of the log file may look like this:<\/strong><\/p>\n\n\n\n<p>xx\/xx\/201x 12:13:04 PM [SERVER] Fatal error<br>UnableToReadPSTFolderPermanentException has occurred.<\/p>\n\n\n\n<p><strong>How to Prevent Error UnableToReadPSTFolder?<\/strong><\/p>\n\n\n\n<p>When New-MailboxExportRequest failed to respond or export the PST, then it is usually presumed that the user may have missed out on the complete request or error occurred due to a typo. But even after creating the same mailbox export request several times, if the user gets the same error, then there is an issue with PowerShell command. It could occur due to the following reasons,<\/p>\n\n\n\n<ol type=\"1\"><li>Mailbox size is quite large, let\u2019s say 90 GB, and hence Mailbox Request is unable to export mailbox to PST<\/li><li>Mailbox Import Export RBAC management role is not assigned to the user account. If the RBAC Management role is not assigned, then you can\u2019t create a mailbox export request<\/li><\/ol>\n\n\n\n<p>Also, before reaching to any conclusion, verify the following:<\/p>\n\n\n\n<ol type=\"1\"><li><strong>View Detailed Statistics Report<\/strong><\/li><\/ol>\n\n\n\n<p>Check the export request status to find out what caused the problem.<\/p>\n\n\n\n<ul><li><strong>Try to export mailbox to another folder<\/strong><\/li><\/ul>\n\n\n\n<p>If the Exchange user can export mailbox to PST in another folder, then the problem is with the current mailbox permissions.<\/p>\n\n\n\n<ul><li><strong>Check if the mailbox is broken<\/strong><\/li><\/ul>\n\n\n\n<p>Try exporting another large mailbox to the same folder. If it works, then the issue is with that particular mailbox. In that case, verify if the mailbox is broken or it is too large, say more than 50 GB (maximum size limit of PST file).<\/p>\n\n\n\n<p>In most cases, there is an issue of oversized mailbox. You may resolve such issue by splitting the PST file by using the following PowerShell command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>New-MailboxExportRequest -Mailbox XYX -ContentFilter {(Received -ge \u201c01\/01\/2017\u2033) -and (Received -lt \u201c01\/01\/2018\u201d)} -FilePath \u201c\\\\SERVER21\\PSTFileShare\\XYZ.pst\u201d<\/code><\/pre>\n\n\n\n<p>You can change the comparators in PowerShell command with any of the following to split the PST file accordingly,<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>-eq<\/td><td>equal to<\/td><\/tr><tr><td>-ne<\/td><td>not equal<\/td><\/tr><tr><td>-gt<\/td><td>greater than<\/td><\/tr><tr><td>-ge<\/td><td>Greater than or equal to<\/td><\/tr><tr><td>-lt<\/td><td>less than<\/td><\/tr><tr><td>-le<\/td><td>less than or equal to<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>In case this doesn\u2019t work, follow the steps discussed below to export mailbox to PST from Exchange database and avoid the UnableToReadPSTFolder error.<\/p>\n\n\n\n<p><strong>Step 1: Assign Permissions and Mailbox Import Export Role<\/strong><\/p>\n\n\n\n<p>By default, the Mailbox Import Export role is not even assigned to administrators&#8217; accounts. Thus, before executing the New-MailboxExportRequest cmdlet, you must assign the required role to the user account. For this, use the following command,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>New-ManagementRoleAssignment \u2013Role \"Mailbox Import Export\" \u2013User \"user name\"<\/code><\/pre>\n\n\n\n<p><strong>Step 2: Use New-MailboxExportRequest Cmdlet with Additional Parameters<\/strong><\/p>\n\n\n\n<p>If the export still fails and an error <em>UnableToReadPSTFolder<\/em> is displayed, you can execute the <em>New-MailboxExportRequest<\/em> cmdlet with some additional parameters to add an exception. This can help you avoid the error, if it occurs due to bad items in the mailbox.<\/p>\n\n\n\n<p>Try the following modified cmdlet to export PST in Exchange,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>New-MailboxExportRequest -Mailbox mailboxname -FilePath \\\\server\\d$\\Backup\\mailbox.pst -BadItemLimit 200 -AcceptLargeDataLoss<\/code><\/pre>\n\n\n\n<p>The above command will try to export a PST file from the selected mailbox with an exception. The command will skip up to 200 bad items. It will export the PST even if the data loss occurs. You can increase or decrease the bad items limit. To know more about New-ExportMailboxRequest cmdlet, read How to use New-MailboxExportRequest Cmdlet.<\/p>\n\n\n\n<p><strong>Step 3: Export Mailbox from Exchange EDB to PST with Stellar Converter for EDB<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/www.stellarservertools.com\/exchange-edb-pst-converter.php\">Stellar Converter for EDB<\/a>\u00a0is an Exchange database, i.e. EDB to PST converter software. By using this software, you can convert desired mailboxes from Exchange database to PST file, irrespective of the mailbox size.<\/p>\n\n\n\n<p>Follow the steps below to convert Exchange mailbox into PST file,<\/p>\n\n\n\n<ol type=\"1\"><li>Install and run Stellar Converter for EDB software<\/li><li>Select Hosted Exchange or Offline EDB file option based on where the specific mailbox is located<\/li><\/ol>\n\n\n\n<p><a href=\"https:\/\/cloud.stellarinfo.com\/micro\/StellarConverterforEDB.exe\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-820 size-full\" src=\"https:\/\/www.stellarservertools.com\/blog\/wp-content\/uploads\/2017\/04\/free-download-large.gif\" alt=\"\" width=\"213\" height=\"55\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.stellarinfo.com\/public\/image\/catalog\/screenshot\/edb-converter\/edb-to-pst\/stellar-converter-for-edb-launcher-screen-1.png\" alt=\"\"\/><\/figure>\n\n\n\n<ul><li>Select the EDB file and convert<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/www.stellarinfo.com\/public\/image\/catalog\/screenshot\/edb-converter\/edb-to-pst\/stellar-converter-for-edb-home-screen-2.png\" alt=\"convert ost file to pst file\"\/><\/figure><\/div>\n\n\n\n<ul><li>After conversion, you can preview the content of EDB file and view mailbox items before export<\/li><li>Then select the mailbox you want to export to PST<\/li><li>Click on Save and from the options, choose \u2018Export to PST\u2019<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/www.stellarinfo.com\/public\/image\/catalog\/screenshot\/edb-converter\/edb-to-pst\/stellar-converter-for-edb-save-as-exchange-server-5.png\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<ul><li>Click \u2018Next\u2019 and choose a location where you want to save the PST file<\/li><li>Click \u2018OK\u2019<\/li><\/ul>\n\n\n\n<p>You can also convert EDB mailboxes to other file formats such as MSG, EML, RTF, etc. If required, you can save the converted mailbox directly to the Live Exchange server or Office 365.<\/p>\n\n\n\n<p><strong>Why Use Software to Resolve the UnableToReadPSTFolder Error?<\/strong><\/p>\n\n\n\n<p>Stellar Converter for EDB proficiently converts offline as well as online EDB (Exchange Database) files. The software successfully converts deleted and archived mailboxes to PST file and saves all components with 100% integrity. The file-preview option lets users verify the mail components before saving the file. The software also facilitates selective conversion.<\/p>\n\n\n\n<p><strong>Conclusion<\/strong><\/p>\n\n\n\n<p>Exchange Admins understand the importance of keeping the Exchange up and running at all times. However, due to oversized mailboxes, the services may be hampered and rendered unavailable. In such cases, there are only one option remains, which is to export the mailboxes from the Exchange database to PST by using PowerShell command or with specialized software like Stellar Converter for EDB.<\/p>\n\n\n\n<p>The Software converts Unicode EDB files available in multiple languages and makes sure that Exchange services are not hampered for a long time when the server gets affected due to \u201cMailboxExportRequest Fails\/ UnableToReadPSTFolderPermanentException\u201d errors.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Summary: The error UnableToReadPSTFolder appears when a user attempts to export PST by using the New-MailboxExportRequest cmdlet in Exchange Management Shell. It occurs when the PST export process fails due to inadequate permissions, mailbox size, bad items, corruption, or any other reason. In this guide, we have discussed the UnableToReadPSTFolder error in detail and also addressed a few workaround steps to export PST from an online or offline Exchange mailbox database. There could be many reasons to export the PST file from a mailbox on the Exchange server. An Exchange administrator may export mailbox to PST for backup or migration <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[],"amp_validity":null,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.stellarservertools.com\/blog\/wp-json\/wp\/v2\/posts\/987"}],"collection":[{"href":"https:\/\/www.stellarservertools.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.stellarservertools.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.stellarservertools.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.stellarservertools.com\/blog\/wp-json\/wp\/v2\/comments?post=987"}],"version-history":[{"count":13,"href":"https:\/\/www.stellarservertools.com\/blog\/wp-json\/wp\/v2\/posts\/987\/revisions"}],"predecessor-version":[{"id":1879,"href":"https:\/\/www.stellarservertools.com\/blog\/wp-json\/wp\/v2\/posts\/987\/revisions\/1879"}],"wp:attachment":[{"href":"https:\/\/www.stellarservertools.com\/blog\/wp-json\/wp\/v2\/media?parent=987"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.stellarservertools.com\/blog\/wp-json\/wp\/v2\/categories?post=987"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.stellarservertools.com\/blog\/wp-json\/wp\/v2\/tags?post=987"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}