<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Aaron Calloway's blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/aacallo/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/aacallo/feed.xml</link>
    <description>Bits and pieces of Exchange &amp;amp; Office 365</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:37:24 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Multi-Factor Authentication in Office 365</title>
      <link>https://docs.microsoft.com/archive/blogs/aacallo/multi-factor-authentication-in-office-365</link>
      <pubDate>Tue, 18 Mar 2014 10:58:00 GMT</pubDate>
      <dc:creator><![CDATA[Aaron Calloway]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/aacallo/2014/03/18/multi-factor-authentication-in-office-365/</guid>
      <description><![CDATA[We have recently added multi-factor authentication for our Office 365 customers who have been long...]]></description>
      <content:encoded><![CDATA[<p>We have recently added multi-factor authentication for our Office 365 customers who have been long awaiting said feature. I'm going to go over how we go about setting it up.</p>
<p>&nbsp;</p>
<p>First, we're going to have to login as an Administrator&nbsp;to the portal at: <em><strong>portal.microsoftonline.com</strong></em></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/74/8407.portalscreen.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-74/8407.portalscreen.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/74/8407.portalscreen.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-74/8407.portalscreen.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>Upon successful login, you should be redirected to the Office 365 admin center where you'll want to select "users and groups" on the left-hand pane, followed by "Setup" next to "Set Multi-factor authentication requirements" in the middle pane.</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/74/1222.usersngroups.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-74/1222.usersngroups.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/74/1222.usersngroups.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-74/1222.usersngroups.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>Once on the multi-factor authentication page, you will select the users you want to provision for MFA and click "Enable" under "quick steps" in the right-hand pane.</p>
<p>&nbsp;</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/74/1512.mfascreen.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-74/1512.mfascreen.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/74/1512.mfascreen.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-74/1512.mfascreen.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;Once the users has been enabled for MFA, the next time they login they will be prompted to click "Setup now" to configure their MFA settings. Here, they can select an initial setting to authenticate with.</p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/74/6837.mobilephone.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-74/6837.mobilephone.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/74/6837.mobilephone.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-74/6837.mobilephone.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;Upon successful authentication, they should be redirected to their OWA page where they can go to the cog in the top-right corner and select "Office 365 settings."</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/74/5241.owascreen.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-74/5241.owascreen.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/74/5241.owascreen.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-74/5241.owascreen.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>Here, they can select "additional security verification" in the left-hand pane followed by&nbsp;"Update my phone numbers used for account security" in the middle pane.</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/74/5657.additionalsecurity.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-74/5657.additionalsecurity.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/74/5657.additionalsecurity.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-74/5657.additionalsecurity.png" alt="" border="0" /></a></p>
<p>&nbsp;They will be taken to the screen below where they can change the method of multi-factor authentication to the following options:</p>
<ul>
<li><strong>Call my mobile phone</strong></li>
<li><strong>Text code to my mobile phone</strong></li>
<li><strong>Call my office phone</strong></li>
<li><strong>Notify me through app</strong></li>
<li><strong>Show one-time code in app</strong></li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/74/1122.verification.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-74/1122.verification.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/74/1122.verification.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-74/1122.verification.png" alt="" border="0" /></a></p>
<p>Thanks for reading!</p>]]></content:encoded>
    </item>
    <item>
      <title>Exchange 2013 DAG Creation</title>
      <link>https://docs.microsoft.com/archive/blogs/aacallo/exchange-2013-dag-creation</link>
      <pubDate>Fri, 22 Mar 2013 14:45:26 GMT</pubDate>
      <dc:creator><![CDATA[Aaron Calloway]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/aacallo/2013/03/22/exchange-2013-dag-creation/</guid>
      <description><![CDATA[I was working in my lab today trying to get my Exchange 2013 environment setup and ready for...]]></description>
      <content:encoded><![CDATA[<p>I was working in my lab today trying to get my Exchange 2013 environment setup and ready for migration from Exchange 2010. When creating the DAG, I came across an issue trying to add mailbox server nodes to the DAG. I keep getting the following error:</p>
<p><span style="color: #000000;">WARNING: The operation wasn't successful because an error was encountered. You may find more details in log file</span><br /><span style="color: #000000;">"C:\ExchangeSetupLogs\DagTasks\dagtask_2013-03-22_21-28-43.273_add-databaseavailabiltygroupserver.log".</span><br /><span style="color: #993300;">A server-side database availability group administrative operation failed. Error The operation failed. CreateCluster</span><br /><span style="color: #993300;">errors may result from incorrectly configured static addresses. Error: An error occurred while attempting a cluster</span><br /><span style="color: #993300;">operation. Error: Cluster API '"CreateCluster() failed with 0x5. Error: Access is denied"' failed.. [Server:</span><br /><span style="color: #993300;">E2K13MR1.corp.exlab.com]</span></p>
<p>&nbsp;</p>
<p><span style="color: #000000;">So I decided to follow the TechNet article on pre-staging the Cluster Name Object for the DAG: <a href="https://technet.microsoft.com/en-us/library/ff367878.aspx">https://technet.microsoft.com/en-us/library/ff367878.aspx</a></span></p>
<p><span style="color: #000000;">However, I still couldn't add any nodes to the DAG. So after some further research (checking our MSSolve database), I found a recommendation to disable that CNO after you've pre-staged it. I went back and followed the suggestion I found, disabled the CNO, and VOILA!, added the DAG nodes without issue.</span></p>
<p><span style="color: #000000;"></span></p>]]></content:encoded>
    </item>
    <item>
      <title>Denying Top-Level Public Folder Creation</title>
      <link>https://docs.microsoft.com/archive/blogs/aacallo/denying-top-level-public-folder-creation</link>
      <pubDate>Wed, 20 Mar 2013 16:05:08 GMT</pubDate>
      <dc:creator><![CDATA[Aaron Calloway]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/aacallo/2013/03/20/denying-top-level-public-folder-creation/</guid>
      <description><![CDATA[I was working with a customer last week who had just done an Exchange 2007 to Exchange 2010...]]></description>
      <content:encoded><![CDATA[<p>I was working with a customer last week who had just done an Exchange 2007 to Exchange 2010 migration. They said an issue they had in Exchange 2007 that had carried over into Exchange 2010 is that users were still able to create top-level public folders. They wanted to deny this privilege going forward. Now, Exchange 2010 is <em>supposed</em>&nbsp;to prevent this via RBAC permissions. And when doing my initial research, I found several forum posts stating that selecting "Deny" on the "Create Top-Level Public Folder" permission&nbsp;for "Everyone" on your Administrative Group in ADSIEDIT, would resolve the issue. However, for us that did not work.</p>
<p>After troubleshooting the issue more, I found the same process against the Public Folder Hierarchies object resolved our issue. Here's how:</p>
<p>&nbsp;</p>
<p>1.) Open ADSIEDIT.msc</p>
<p>2.) Navigate to Configuration &gt; Services &gt; Microsoft Exchange &gt; (Your Exchange Org) &gt; Administrative Groups &gt; (Your Administrative Group) &gt; Folder Hierarchies</p>
<p>3.) In "Folder Hierarchies" right click and open the Properties on the Public Folders Object</p>
<p>4.) Switch to the "Security" tab and highlight "Everyone"</p>
<p>5.) In the bottom pane, find "Create Public Folder" and check the "Deny" checkbox. (I know you see the "create top-level public folder", but denying just the "Create Public Folder" did the trick. Their permissions should still be intact for creating subfolders)</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/74/8267.toplevelpublicfolder_blog.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-74/8267.toplevelpublicfolder_5F00_blog.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/74/8267.toplevelpublicfolder_blog.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x999/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-74/8267.toplevelpublicfolder_5F00_blog.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Checking mailbox Recoverable Deleted Items Script</title>
      <link>https://docs.microsoft.com/archive/blogs/aacallo/checking-mailbox-recoverable-deleted-items-script</link>
      <pubDate>Wed, 20 Mar 2013 13:59:56 GMT</pubDate>
      <dc:creator><![CDATA[Aaron Calloway]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/aacallo/2013/03/20/checking-mailbox-recoverable-deleted-items-script/</guid>
      <description><![CDATA[Yesterday I was at a customer and they ran into an issue while migrating from Exchange 2007 to...]]></description>
      <content:encoded><![CDATA[<p>Yesterday I was at a customer and they ran into an issue while migrating from Exchange 2007 to Exchange 2010. They were using a batch mailbox move script that set retention policies on the mailboxes as they moved to Exchange 2010. Unfortunately, the script was used incorrectly at one point and they applied the wrong retention policy to a group of users they migrated. The impact was that these mailboxes had all of their items older than 90 days put into recoverable deleted items and they weren't supposed to. Now, they didn't necessarily know which batch of moves were impacted, so they asked me to build a script to best identify the impacted mailboxes. They weren't sure post-migration which of these mailboxes should&nbsp;not have had the policy applied, so they couldn't just look at the retention policy itself.</p>
<p>How I built the script, was to have them provide a list (in a text file) of each batch of user migrations, then I would find the problem users based on the size of their recoverable deleted items (the users that it was supposed to apply to shouldn't have had that much for the retention policies to effect because they already had a policy on Exchange 2007 that was working). This allowed us to find which users were truly effected, then either restore their mailbox in Exchange 2007 and migrate again or just select all the user's recoverable deleted items and restore.</p>
<p>I've attached the script, but if you would like just copy and paste to a text file and rename to .ps1, you can do that with the below:</p>
<p>#Author: Aaron Calloway<br />#Use this script to get the size and item count of the items in user's recoverable items<br />#Usage: When prompted for input file, type the full path of file location. i.e. "C:\temp\userlist.txt"<br />#When prompted for the output file, type in the full path of where you want the file to be located.<br />#i.e. "C:\temp\recoverableitemslist.txt"<br />#<br />#Note:This script APPENDS data, so it will not overwrite an existing file, it will add to it.<br />#<br />#<br />#<br />$ip_file=Read-Host "Where is the input file located?"<br />if (! $ip_file){<br />Write-host -Foregroundcolor "Red" "You must select an input file!"</p>
<p>$ip_file = Read-Host "Where is the input file located?"<br />}</p>
<p>$Users=(Get-Content -Path $ip_file)</p>
<p>$op_file = Read-Host "Which file would you like the results written to?"</p>
<p>if (! $op_file){<br />Write-Host -Foregroundcolor "Red" "You must select an output file!"</p>
<p>$op_file = Read-Host "Which file would you like the results written to?"<br />}</p>
<p>foreach ($user in $users) {Get-MailboxFolderStatistics $user |? {$_.FolderType -eq "RecoverableItemsDeletions"}|select identity,foldertype,folderpath,itemsinfolder,foldersize | Out-File $op_file -append}<br />Write-Host -Foregroundcolor "Green" $users.count "Users Completed. File is located at $op_file"</p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/10/40/39/92/Get_RecoverDeletedItems.ps1" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-40-39-92/Get_5F00_RecoverDeletedItems.ps1">Get_RecoverDeletedItems.ps1</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Error with moving mailbox in Exchange 2010 SP2 RU3+</title>
      <link>https://docs.microsoft.com/archive/blogs/aacallo/error-with-moving-mailbox-in-exchange-2010-sp2-ru3</link>
      <pubDate>Wed, 20 Mar 2013 13:42:00 GMT</pubDate>
      <dc:creator><![CDATA[Aaron Calloway]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/aacallo/2013/03/20/error-with-moving-mailbox-in-exchange-2010-sp2-ru3/</guid>
      <description><![CDATA[I was working with a customer today who had recently migrated to Exchange 2010 SP2 RU5 from Exchange...]]></description>
      <content:encoded><![CDATA[<p>I was working with a customer today who had recently migrated to Exchange 2010 SP2 RU5 from Exchange 2007 and they had an issue when they were trying to move mailboxes between Exchange 2010 databases. Although the move did complete, it "Completed with Warnings" showing the following error in the move request details:</p>
<p><span style="color: #993300; background-color: #ffffff;"><em>Warning: Failed to clean up the source mailbox after the move.</em></span></p>
<p><span style="color: #993300; background-color: #ffffff;"><em>Error details:</em></span><br /><span style="color: #993300; background-color: #ffffff;"><em>MapiExceptionUnexpectedMailboxState: Unable to delete mailbox. (hr=0x80004005,ec=2634)</em></span></p>
<p>&nbsp;</p>
<p>When we looked around a little bit, we found that all the mailboxes that had completed with this particular error ended up having a disconnected mailbox showing up in the Exchange Management Console.</p>
<p>With a little bit of research, I found that this is a bug that applies to Exchange 2010 SP2 RU3, RU4, and RU5. You can&nbsp;prevent this issue from happening in the future&nbsp;by upgrading to Exchange 2010 SP3. However, you still need to get those disconnected mailboxes out of there. To do this, you want to use the following commands in Exchange Management Shell:</p>
<p>1.) Run the command to find the specific mailboxes that were impacted by this bug.</p>
<p>Get-MailboxStatistics -Database &lt;MAILBOXDATABASE&gt; | Where { $_.DisconnectReason -eq "SoftDeleted" } | fl LegacyDN, DisplayName, MailboxGUID,DisconnectReason</p>
<p>&nbsp;2.) Run this command to remove those disconnected mailboxes cleanly.</p>
<p>Remove-StoreMailbox &ndash;Database &lt;MAILBOXDATABASE&gt; &ndash;Identity &lt;MAILBOXGUID&gt; &ndash;MailboxState Softdeleted</p>
<p>&nbsp;</p>
<p>After running these steps, we were able to successfully cleanup those disconnected mailboxes.</p>]]></content:encoded>
    </item>
  </channel>
</rss>