<?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>RO Exchange blogging @ EHL(R)O</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/ehlro/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/ehlro/feed.xml</link>
    <description>RO Exchange engineers share news or just interesting solutions with you</description>
    <lastBuildDate>Wed, 05 Jul 2017 14:25:33 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Menu of the day: online archive served with retention policy and litigation hold (scented with seasonal cross-premises flavors and recoverable items notes)</title>
      <link>https://docs.microsoft.com/archive/blogs/ehlro/menu-of-the-day-online-archive-served-with-retention-policy-and-litigation-hold</link>
      <pubDate>Wed, 05 Jul 2017 14:19:37 GMT</pubDate>
      <dc:creator><![CDATA[Ana-Maria Mihale]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/ehlro/?p=805</guid>
      <description><![CDATA[As an Exchange Server “chef”, I am frequently asked how these things should be cooked, whether the...]]></description>
      <content:encoded><![CDATA[As an Exchange Server “chef”, I am frequently asked how these things should be cooked, whether the ingredients can be mixed one to each other and so on.

Well… here’s the top secret recipe:

&nbsp;

&nbsp;

<strong>Ingredients</strong>:
<ul>
 	<li>On-premises Mailbox (Exchange 2010/2013/2016)</li>
 	<li>Online Archive (EXO)</li>
 	<li>Retention Policy (with “Move to archive” action)</li>
 	<li>Litigation Hold On</li>
</ul>
&nbsp;

&nbsp;

<strong>Can be served by:</strong>

Anyone who wants to keep items for an indefinite/longer period of time and to avoid potential “disk space issues” on the Exchange servers.

&nbsp;

&nbsp;

<strong>As a sample:</strong>

I will cook today 1x Exch2016 on-premises mailbox (“userana”) with online archive, 1x move-to-archive retention tag with 2-day age for the default folders and 1x move-to-archive retention tag with 3-day age for the recoverable items folder, litigation hold with indefinite time, “RetaindeletedItemsfor” parameter on the mailbox set to default 14 days (configurable with “Set-Mailbox”).

&nbsp;

&nbsp;

<strong>Directions:</strong>

<strong> </strong>
<ul>
 	<li>To enable online archive for an on premises mailbox, please follow the steps in <a href="https://technet.microsoft.com/en-us/library/mt791517(v=exchg.150).aspx"><em>“</em><em>Create a cloud-based archive for an on-premises primary mailbox in an Exchange hybrid deployment” </em></a></li>
</ul>
&nbsp;
<ul>
 	<li>To automatically move items to archive, please create first the desired Retention Tags which will be part of the Retention Policy. I chose for my sample:</li>
</ul>
1x Tag to move all items from default folder to archive after 2 days

New-RetentionPolicyTag -Name NewTag1 -AgeLimitForRetention 2 -RetentionAction MoveToArchive -Type All

&nbsp;

1x Tag to move all items from Recoverable Items Folder to archive after 1 day

New-RetentionPolicyTag -Name NewTag2 -AgeLimitForRetention 3 -RetentionAction MoveToArchive -Type RecoverableItems

(<a href="https://technet.microsoft.com/en-us/library/dd335226(v=exchg.160).aspx">details on how to create the tags</a>)

(<a href="https://technet.microsoft.com/en-us/library/bb430780(v=exchg.160).aspx">details on age calculation</a>)

&nbsp;
<ul>
 	<li>To create the retention policy and add the tags to it</li>
</ul>
New-RetentionPolicy -Name MyRetentionPolicy1 -RetentionPolicyTagLinks NewTag1, NewTag2

(<a href="https://technet.microsoft.com/en-us/library/dd297970(v=exchg.160).aspx">details on how to create the policy</a>)

&nbsp;

&nbsp;
<ul>
 	<li>To enable litigation hold indefinitely:</li>
</ul>
Set-Mailbox -Identity <em>userana</em> -LitigationHoldEnabled $true

(<a href="https://technet.microsoft.com/en-us/library/dn743673(v=exchg.160).aspx">details on how to enable litigation hold</a>)

&nbsp;

&nbsp;
<ul>
 	<li>To assign the newly created retention policy to the user:</li>
</ul>
Set-Mailbox -identity <em>Userana</em> -RetentionPolicy <em>MyRetentionPolicy1</em>

(<a href="https://technet.microsoft.com/en-us/library/bb123981(v=exchg.160).aspx">details on how to assign the policy on a mailbox</a>)

&nbsp;
<ul>
 	<li>To immediately start messaging records management (MRM) processing of the mailbox, run:</li>
</ul>
Start-ManagedFolderAssistant -Identity <em>Userana</em>

&nbsp;
<ul>
 	<li>If you see that items are not moving to archive as expected please consider the following cmdlets for troubleshooting:</li>
</ul>
Export-MailboxDiagnosticLogs -Identity <em>userana</em> -ExtendedProperties

Export-MailboxDiagnosticLogs -Identity <em>userana</em> -ComponentName MRM

Relevant parameters to check in the output: ELCLastSuccessTimestamp, ElcLastRunUpdatedItemCount, Elc*

<strong> </strong>

<strong>Please note: </strong>

If <strong>OAuth</strong> isn’t configured for your Exchange hybrid deployment, you can’t use archive policies to automatically move items from a user’s primary mailbox in your on-premises organization to the user’s cloud-based archive in Exchange Online. Details in <a href="https://technet.microsoft.com/en-us/library/dn689104(v=exchg.150).aspx">TechNet</a>.

&nbsp;

&nbsp;

<strong>RESULTS of Sample:</strong>

&nbsp;

In case we have a Retention Policy onprem with: ·     1x tag to move all items to archive after 2 days , ·     1x tag to move recoverable items to archive after 3 days and ·     “RetaindeletedItemsfor” parameter on the mailbox is set to 14 days, then:
<ul>
 	<li><strong>Will the items in Recoverable Items folder in primary mailbox be moved to the Recoverable Items folder in archive after 2, 3 or 14 days? </strong> Items in the Recoverable Items folder in the primary mailbox will be moved to the Recoverable Items folder in the archive mailbox based on the settings in the Retention Policy Tags applying to the default Recoverable Items folder. In this scenario, the items in the Recoverable Items folder in the primary mailbox will be moved to the Recoverable Items folder in the archive mailbox after 3 days.</li>
</ul>
&nbsp;
<ul>
 	<li><strong>Will a copy remain in primary mailbox until “RetaindeletedItemsfor” period is over?</strong> No, after the items in the Recoverable Items folder in the primary mailbox are moved to the Recoverable Items folder in the archive mailbox based on the settings in the Retention Policy Tags applying to the default Recoverable Items folder, there will not be any copy remaining in primary mailbox.</li>
</ul>
<strong> </strong>
<ul>
 	<li><strong>How long will the recoverable items be kept in archive? </strong> If neither Litigation Hold nor InPlace Hold is enabled on the mailbox, recoverable items will be kept in archive based on the “RetaindeletedItemsfor” settings. Exchange saves the timestamp of when the item was moved to the Recoverable Items folder in the PR_LAST_MODIFICATION_TIME property of the item. The PR_LAST_MODIFICATION_TIME property will be updated too when the item in the Recoverable Items folder in the primary mailbox is moved to the Recoverable Items folder in the archive mailbox. In this sample-scenario, it will be 14 days. Default value of the “RetaindeletedItemsfor” parameter on the online archive is 14 days. For longer retention periods, Litigation/in-place holds should be considered.</li>
</ul>
&nbsp;
<ul>
 	<li><strong>How long will the other remaining items be kept in the archive, after they are moved from primary mailbox?</strong> As described in <a href="https://technet.microsoft.com/en-us/library/dd297955(v=exchg.150).aspx">Technet</a> Archive mailboxes don't have a separate retention policy. The same retention policy is applied to the primary and archive mailbox.” Also as per <a href="https://blogs.technet.microsoft.com/vikass_blog/2013/07/03/retention-policy-on-archive-mailbox/">Blog</a>, “DPT with action other than move to archive action processes the primary mailbox as well as archive mailbox.” Therefore, if there are no additional tags in the primary mailbox (other than the two “MovetoArchive” tags), then the items in archive default folders should not be touched by other actions. So the remaining items (other than items in Recoverable items folder) should be kept for as long as the s<span>torage limit allows it, corresponding to your current plan (50GB/unlimited) <a href="https://technet.microsoft.com/en-us/library/exchange-online-limits.aspx">https://technet.microsoft.com/en-us/library/exchange-online-limits.aspx</a> </span> Please note however the following scenario: If the end-user applied a personal tag on a folder (let’s call it Folder1) and if a folder with the same name exists also in the Archive (Folder1), then the personal tag will be applied also to the folder in the archive due to the identical names. If the user does not want “Folder1” in the archive to be processed, then he should change the name of Folder1 in archive to something else. This scenario is explained also in the following article: <a href="https://blogs.technet.microsoft.com/vikass_blog/2013/07/03/retention-policy-on-archive-mailbox/">https://blogs.technet.microsoft.com/vikass_blog/2013/07/03/retention-policy-on-archive-mailbox/</a></li>
</ul>
&nbsp;
<ul>
 	<li><strong>If we place the primary mailbox on litigation hold, will the archive be placed on hold, too? </strong>Yes, as per <a href="https://technet.microsoft.com/en-us/library/dn743673(v=exchg.150).aspx">TechNet </a>: “If you place a Litigation Hold on an on-premises primary mailbox in an Exchange hybrid deployment<strong>, the cloud-based archive mailbox (if enabled) is also placed on hold.“ </strong> Also:<strong> </strong>“Litigation Hold preserves items in the Recoverable Items folder in the user's mailbox. The default size for this folder is 30 GB<strong>. Depending on number and size of items deleted or modified, the size of the Recoverable Items folder of the mailbox may increase quickly. The Recoverable Items folder is configured with a high quota by default. We recommend that you monitor mailboxes that are placed on Litigation Hold on a weekly basis to ensure they don't reach the limits of the Recoverable Items quotas"</strong>.</li>
</ul>
&nbsp;
<ul>
 	<li><b><b><strong>If we enable Litigation Hold on the primary mailbox (which will consequently enable Litigation Hold also on the Online Archive), will this cancel out the archiving retention policies applied on the mailbox which should actually "move content on the cloud", therefore releasing DB space On-Premise? </strong></b></b>Litigation hold or in-place hold is a compliance feature and is controlled from onprem and active for both mailboxes (primary and archive). The retention policy framework is a completely different feature that should stay working independently to in-place setup. Retention policies manage the part of the mailbox , that is visible to the user and handles how mails are moved to the archive. Litigation hold or in-place hold, keeps hard deleted mails in a hidden folder of the dumpster  – invisible to the user himself- (dumpster of both primary and archive) for compliance related search (eDiscovery). <strong> That means “move to archive” per retention policy should still work.</strong></li>
</ul>
&nbsp;
<ul>
 	<li><b><strong>If the Litigation Hold is a compliance feature in retaining items on both cloud archive and On-Premise, then how can this be the resolution for managing the space occupied by a mailbox that is still On-Premise? </strong></b>Indeed, if you place a Litigation Hold on an on-premises primary mailbox in an Exchange hybrid deployment, the cloud-based archive mailbox (if enabled) is also placed on hold. For managing the space issue, occupied by a mailbox on-Prem, you should use “move to archive” retention Tags. As explained above, the litigation hold feature will not interfere with the “move to archive” tags. See also <a href="https://support.office.com/en-us/article/Set-up-an-archive-and-deletion-policy-for-mailboxes-in-your-Office-365-organization-ec3587e4-7b4a-40fb-8fb8-8aa05aeae2ce?ui=en-US&amp;rs=en-US&amp;ad=US&amp;fromAR=1">article</a>:</li>
</ul>
<p style="text-align: left"><em>“Using the Recoverable Items 14 days Move to Archive retention tag helps free up storage space in the Recoverable Items folder in the user's primary mailbox<strong>. This is useful when a user's mailbox is placed on hold</strong><strong>, </strong>which means nothing is ever permanently deleted the user's mailbox. Without moving items to the archive mailbox, it's possible the storage quota for the Recoverable Items folder in the primary mailbox will be reached.”</em></p>
<p style="text-align: left">In other words, litigation hold just assures that no email is lost/deleted by users. <a href="https://technet.microsoft.com/en-us/library/ff637980(v=exchg.150).aspx">Details</a>.</p>
&nbsp;
<ul>
 	<li><b><strong>What happens right after the hard deletion of recoverable items (just before they are moved to the cloud)? Aren't they going to be placed under the Litigation Hold dumpster and stay there still occupying the same space they were occupying in the recoverable items dumpster (still inside the same On-Premise mailbox)? </strong></b>Items deleted from “Deleted items”, by user or by RPT, will go first to the Deletions in primary mailbox. But then no matter if they will reach the Purges folder or other recoverable items folder (still in primary mailbox), the retention action “move to archive” should still take place, as Recoverable Items tag should handle <u>everything</u> under Recoverable Items folder (Deletions, Purges, InPlaceHolds etc.).</li>
</ul>
&nbsp;
<ul>
 	<li><b><strong>How can we restore recoverable items from the online archive back to the on-premises mailbox? </strong></b>As we know, there are various subfolders under Recoverable Items (no matter if primary mailbox/online archive).</li>
</ul>
(<a href="https://technet.microsoft.com/en-us/library/ee364755(v=exchg.160).aspx">Details on all subfolders of Recoverable Items</a>)

&nbsp;

<strong>1.Calendar Logging</strong> contains calendar changes that occur within a mailbox. Items in <strong>Calendar Logging </strong>of primary mailbox will be archived to the <strong>Calendar Logging </strong>folder of the online archive.

This folder isn’t available to users in Outlook/OWA<sup>1</sup>.

&nbsp;

<strong>2. Deletions</strong> contains:
<ul>
 	<li>Items deleted from the Deleted Items folder, manually or by Retention Policy</li>
 	<li>Items deleted by users from any folder by pressing Shift+Delete.</li>
</ul>
&nbsp;

Items in <strong>Deletions </strong>of primary mailbox will be archived to the <strong>Deletions </strong>folder of the online archive.

This subfolder is exposed to users through the Recover Deleted Items feature in Outlook and Outlook Web App.

If users want to check it for the online archive, they will have to go to Deleted Items in Online archive and then click on “Recover Deleted Items from Server”:

From here users can restore the desired items back to the Deleted Items of the Online Archive by selecting the items, checking “Restore selected items” and clicking ok:

&nbsp;

<b><strong>3. Purges </strong>contains all items that are purged, if Litigation Hold or single item recovery is enabled .</b>

This folder isn’t available to users in Outlook/OWA<sup>1</sup>.

Items in the Deletions subfolder reside there until the deleted item retention period configured for the mailbox database or the mailbox expires. So after 14 days (setting on the mailbox), these items will be moved to Purges.

Items manually purged from Deletions, by marking “Purge Selected Items” within “Recover Deleted Items from Server”, will land as well in Purges.

Items in <strong>Purges </strong>of primary mailbox will be archived to the <strong>Purges </strong>folder of the online archive.

&nbsp;

<b><strong>4. Versions </strong>contains the original and modified copies of the deleted items, if In-Place Hold or Litigation Hold is enabled. This folder isn't visible to end users.</b>

This folder isn’t available to users in Outlook/OWA<sup>1</sup>.

Items in <strong>Versions </strong>of primary mailbox will be archived to the <strong>Versions </strong>folder of the online archive.

To sum up only items residing in Deletions Subfolder of “Recoverable Items” can be by default restored by end users, using Outlook/OWA<sup>, </sup>through “Recover Deleted Items from Server” feature.

<hr />

<sup>1 </sup>= To recover from subfolders in Recoverable Items that are unavailable in Outlook/OWA<sup>, </sup>through “Recover Deleted Items from Server”, you can use Ediscovery feature (<a href="https://support.office.com/en-us/article/Recover-deleted-items-in-a-user-s-mailbox-Admin-Help-eb15194b-63ec-41b0-8d90-1823d3f558e4">more info on the steps for Admins</a> ) or you can install MFCMAPI on the clients (<a href="https://mfcmapi.codeplex.com/">https://mfcmapi.codeplex.com/</a>).

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Changing the IP addresses of Exchange 2013 servers in a DAG</title>
      <link>https://docs.microsoft.com/archive/blogs/ehlro/changing-the-ip-addresses-of-exchange-2013-servers-in-a-dag</link>
      <pubDate>Wed, 05 Aug 2015 06:05:31 GMT</pubDate>
      <dc:creator><![CDATA[RazvanB]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/ehlro/2015/08/05/changing-the-ip-addresses-of-exchange-2013-servers-in-a-dag/</guid>
      <description><![CDATA[A couple of months ago I had a request from a customer to change the ip addresses of all their...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family:Calibri;"><span style="font-size:medium;">A couple of months ago I had a request from a customer to change the ip addresses of all their Exchange 2013 servers because of network changes that they needed to do in their environment.&nbsp; </span></span></p>
<p><span style="font-family:Calibri;font-size:medium;">After reading the article written by Tzahi Kolber: </span><a href="/b/pfemsgil/archive/2012/08/02/changing-dag-amp-dag-members-ip-addresses.aspx"><span style="color:#0563c1;font-family:Calibri;font-size:medium;">Changing DAG &amp; DAG members IP addresses</span></a><span style="font-family:Calibri;font-size:medium;"> we decided to use the actions described below.</span></p>
<p><b><span style="text-decoration:underline;"><span style="font-family:Calibri;font-size:medium;">The environment</span></span></b></p>
<p><span style="font-family:Calibri;font-size:medium;">They had a DAG with 4 nodes in two datacenters (EMEA and US) and a FSW in a third datacenter in EMEA. Also they wanted to switch from a single network card used by the DAG servers to 2 network cards, one for MAPI traffic and one for Replication. </span></p>
<p><span style="font-family:Calibri;font-size:medium;">All servers have the MBX/CAS roles. </span></p>
<p><b><span style="text-decoration:underline;"><span style="font-family:Calibri;font-size:medium;">Before making the changes</span></span></b></p>
<p><span style="font-family:Calibri;font-size:medium;">Table with IP addresses:</span></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="37" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">#</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="143" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Server name</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="188" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Old Ip address</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="203" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">New MAPI IP</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="210" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">New Replication IP</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
<tr>
<td width="37" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">1</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="143" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">DAG2013-MBX1</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="188" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">10.2.1.101</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="203" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">10.2.5.101</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="210" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">10.2.2.101</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
<tr>
<td width="37" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">2</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="143" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">DAG2013-MBX2</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="188" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">10.2.1.102</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="203" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">10.2.5.102</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="210" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">10.2.2.102</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
<tr>
<td width="37" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">3</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="143" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">DAG2013-MBX3</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="188" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">10.2.3.101</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="203" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">10.2.6.101</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="210" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">10.2.4.101</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
<tr>
<td width="37" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">4</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="143" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">DAG2013-MBX4</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="188" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">10.2.3.102</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="203" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">10.2.6.102</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="210" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">10.2.4.102</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
<tr>
<td width="37" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">5</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="143" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">DAG</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="188" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">10.2.1.110, 10.2.3.110</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="412" valign="top" colspan="2"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">10.2.5.110, 10.2.6.110</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
</tbody>
</table>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<ul>
<li>
<p>Talk to all applications owners and notify them of the change. It is often that applications use the IP address of the servers rather than the VIP or the FQDN of the server.</p>
</li>
<li>
<p>Make sure that the Old IP addresses are routable to the new MAPI IP addresses.</p>
</li>
<li>
<p>Firewall rules should be updated in order to provide access to the new IP addresses.</p>
</li>
</ul>
<p><b><span style="text-decoration:underline;"><span style="font-family:Calibri;font-size:medium;">The change</span></span></b></p>
<p><span style="font-family:Calibri;font-size:medium;">In our case we moved the nodes to different subnets so in this we needed to add Ips for the DAG in those subnets as well.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Set-DatabaseAvailabilityGroup &ndash;identity DAG -DatabaseAvailabilityGroupIPAddress 10.2.5.110, 10.2.6.110, 10.2.1.110, 10.2.3.110</span></p>
<p><span style="font-family:Calibri;font-size:medium;">1. We took the first server out of the HLB.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">2. We moved all the active DBs to other nodes.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">3. We&rsquo;ve put the first node in maintenance mode as per article: </span><a href="/b/nawar/archive/2014/03/30/exchange-2013-maintenance-mode.aspx"><span style="color:#0563c1;font-family:Calibri;font-size:medium;">https://blogs.technet.com/b/nawar/archive/2014/03/30/exchange-2013-maintenance-mode.aspx</span></a><span style="font-family:Calibri;font-size:medium;"> </span></p>
<p><span style="font-family:Calibri;font-size:medium;">4. Checked if the PAM was not hosted on the server where we did the changes:</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Get-ClusterGroup </span></p>
<p><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/b1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/b1.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/b1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/b1.png" border="0" /></a></span></p>
<p><span style="font-family:Calibri;font-size:medium;">5. As the OwnerNode was the server on which we are doing the changes. We moved it using:</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Move-ClusterGroup &ldquo;Cluster Group&rdquo; &ndash;Node [node where to move it]</span></p>
<p><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/b2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/b2.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/b2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/b2.png" border="0" /></a><br /></span></p>
<p><span style="font-family:Calibri;font-size:medium;">6. Enabled the second NIC which will be used for replication. Configured the IP address, unchecked &ldquo;Register this connection&rsquo;s addresses in DNS&rdquo;.</span></p>
<p><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/b3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/b3.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/b3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/b3.png" border="0" /></a></span></p>
<p><span style="font-family:Calibri;font-size:medium;">7. Set static routes for the Replication NIC.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">8. Checked NIC bindings putting the MAPI network on top.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">9. Switched the RDP connection to the Replication NIC and configured the IP address for the MAPI network. </span></p>
<p><span style="font-family:Calibri;font-size:medium;">10. Rebooted the server.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">11. Check that we have the new IP in DNS and that it has replicated in the environment.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">12. If you do a Get-DatabaseAvailabilityGroup | fl you should see:</span></p>
<p><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/b4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/b4.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/b4.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/b4.png" border="0" /></a></span></p>
<p><span style="font-family:Calibri;font-size:medium;">13. Put the server in the HLB.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">14. Pull out server from maintenance mode as per article: </span><a href="/b/nawar/archive/2014/03/30/exchange-2013-maintenance-mode.aspx"><span style="color:#0563c1;font-family:Calibri;font-size:medium;">https://blogs.technet.com/b/nawar/archive/2014/03/30/exchange-2013-maintenance-mode.aspx</span></a><span style="font-family:Calibri;font-size:medium;"> </span></p>
<p><span style="font-family:Calibri;font-size:medium;">15. Move active databases on this server.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">16. Repeat the previous steps on the other servers. </span></p>
<p><span style="font-family:Calibri;font-size:medium;">17. At the end do not forget to remove the old IPs for the DAG using:</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Set-DatabaseAvailabilityGroup &ndash;identity DAG -DatabaseAvailabilityGroupIPAddress 10.2.5.110, 10.2.6.110</span></p>
<p><span style="font-family:Calibri;font-size:medium;">18. Disabled replication from the MAPI network.</span></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;"><b>Note:</b> The above steps have been done for a DAG that had automatic DAG network configuration. The information regarding the networks is updated every 30 minutes.</span></span></p>
<p><span style="font-family:Calibri;font-size:medium;">As&nbsp;all major changes in a production environment&nbsp;you&nbsp;should test all the steps in a test environment in order to make sure you don&#39;t have any particular settings you need to take into&nbsp;consideration.&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Exchange 2013 EDGE as a SmartHost with Basic over TLS authentication</title>
      <link>https://docs.microsoft.com/archive/blogs/ehlro/exchange-2013-edge-as-a-smarthost-with-basic-over-tls-authentication</link>
      <pubDate>Mon, 30 Mar 2015 06:08:24 GMT</pubDate>
      <dc:creator><![CDATA[Cristi Timofte]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/ehlro/2015/03/30/exchange-2013-edge-as-a-smarthost-with-basic-over-tls-authentication/</guid>
      <description><![CDATA[Because I had a recent request to use an Exchange 2013 Edge server as a Smarthost with Basic over...]]></description>
      <content:encoded><![CDATA[<p>Because I had a recent request to use an Exchange 2013 Edge server as a Smarthost with Basic over TLS I decided to share the steps I took to make this.</p>
<p>Assuming we already have installed the Exchange and Edge server</p>
<p></p>
<p>I started by reviewing this TechNet article :</p>
<p></p>
<p>Configure Internet mail flow through an Edge Transport server without using EdgeSync</p>
<p><a href="https://technet.microsoft.com/en-us/library/bb232082%28v=exchg.150%29.aspx">https://technet.microsoft.com/en-us/library/bb232082%28v=exchg.150%29.aspx</a></p>
<p></p>
<p>But I think it lacks some information regarding the certificate issues we might run into.</p>
<p>On the Edge server I created the Send/Receive connectors :</p>
<p><span style="background-color:#ffffff;"><em>New-SendConnector -name &quot;Outbound&quot; -AddressSpace * -Usage Internet -DNSRoutingEnabled $true</em></span></p>
<p><span style="background-color:#ffffff;"><em>$MailboxCredentials = Get-Credential</em></span></p>
<p><span style="background-color:#ffffff;"><em>New-SendConnector -name &quot;To Wingtip Internal&quot; -Usage Internal -AddressSpace *.wingtiptoys.com -DNSRoutingEnabled $false -SmartHosts Wingtip-e2k13.wingtiptoys.com -SmartHostAuthMechanism BasicAuthRequireTLS -AuthenticationCredentiaI $MailboxCredentials</em></span></p>
<p><span style="background-color:#ffffff;"><em>Set-ReceiveConnector &quot;Default internal Receive connector Wingtip-Edge2013&quot; Name &quot;From Internet&quot; -Bindings 10.1.1.200: 25</em></span></p>
<p><span style="background-color:#ffffff;"><em>New-ReceiveConnector -Name &quot;From WingtipOrg&quot; -Usage Internal -AuthMechanism TLS, BasicAuthRequireTLS, ExchangeServer -Bindings 192.168.0.202:25 -RemoteIPRanges 192.168.0.113</em></span></p>
<p></p>
<p>To verify everything was set successfully use :&nbsp;</p>
<p><em>Get-SendConnector I Format-List Name , Usage , AddressSpaces , SourceTransportServers , DSNRoutingEnab1ed , SmartHosts , SmartHostAuthMechanism</em></p>
<p><em>Get-ReceiveConnector I Format-List Name, Usage, AuthMechanism, Bindings, RemotelPRanges </em></p>
<p></p>
<p>I also made sure that I am able to resolve DNS names so I added some entries in the Hosts file</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/6560.img2.1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/6560.img2.1.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/6560.img2.1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/6560.img2.1.png" border="0" alt=" " /></a></p>
<p>At this point you have two options :</p>
<p>&nbsp;- create a certificate with a 3rd party Certificate Authority</p>
<p>&nbsp;- create a certificate in the Local Certificate Authority</p>
<p></p>
<p>I chose the second option to work with the Local Certificate Authority.</p>
<p>On the Exchange 2013 server I created a certificate request and included the usual host names I would need, because I want to use this certificate on all services I included more subject alternative names. You have the option to only use the certificate for SMTP communication so you will only need to have both host names in the SAN.</p>
<p>Here is the certificate I created :</p>
<p><em>New-ExchangeCertificate -PrivateKeyExportable:$true -FriendlyName &#39;wingtipmail3&#39; -SubjectName &#39;C=US,S=&quot;WA&quot;,L=&quot;Seattle&quot;,O=&quot;Wingtiptoys&quot;,OU=&quot;IT&quot;,CN=Wingtiptoys.com&#39; -DomainName @(&#39;wingtip-e2k13.wingtiptoys.com&#39;,&#39;AutoDiscover.Wingtiptoys.com&#39;,&#39;Wingtiptoys.com&#39;,&#39;wingtip-edge13.wingtiptoys.com&#39;,&#39;smtp.wingtiptoys.com&#39;,&#39;owa.wingtiptoys.com&#39;,&#39;wingtip-e2k7.wingtiptoys.com&#39;,&#39;wingtip-e2k10.wingtiptoys.com&#39;) -RequestFile &#39;<a>\\wingtip-dc\cert\edgenew2.req</a>&#39; -GenerateRequest:$true -Server &#39;ba68d970-aaa2-44dd-b303-f2666ea1d8b9&#39; -KeySize &#39;2048&#39;</em></p>
<p>I went to the Local Certificate Authority and issues the certificate that I enabled for SMTP service</p>
<p><em>Enable-ExchangeCertificate 6B138B7F7492A3E57BCAD0813BA67CC58DAEF805 -Thumbprint -Services SMTP</em></p>
<p>Because I haven&#39;t added the certificate on the Exchange 2013 EDGE server I was receiving the error : &quot;SubjectMismatch, Chain validation status&quot;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/8231.img3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/8231.img3.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/8231.img3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/8231.img3.png" width="680" height="157" alt=" " /></a></p>
<p>I then added the certificate on the Exchange 2013 EDGE server and enabled the certificate for SMTP TLS communication.</p>
<p>Import-ExchangeCertificate -FileData ([Byte[]]$(Get-Content -Path c:\certificates\ExportedCert.pfx -Encoding byte -ReadCount 0)) -Password:(Get-Credential).password</p>
<p>Restarted Microsoft Exchange Transport service on the Microsoft Exchange 2013 EDGE server</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/5280.img3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/5280.img3.png"></a><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/img4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/img4.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/img4.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/img4.png" border="0" alt=" " width="681" height="152" /></a></p>
<p>I now get the error &quot;UntrustedRoot, Chain Validation Status&quot;</p>
<p>This is because on the Exchange 2013 Edge server I haven&#39;t installed the RootCA certificate and CRL Revocation list from the Local Certificate Authority.</p>
<p>Using PKI on the Edge Transport Server for Domain Security</p>
<p><a href="https://technet.microsoft.com/en-us/library/bb124817%28v=exchg.141%29.aspx">https://technet.microsoft.com/en-us/library/bb124817%28v=exchg.141%29.aspx</a></p>
<p>You should be able to get this from the Certificate Authority server <a>\\Server\CertEnroll\</a></p>
<p>Here is what I found</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/img5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/img5.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/img5.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/img5.png" border="0" alt=" " /></a></p>
<p>To import this certificate and revocation list please start mmc.exe and add Certificates Snap-in for the Computer Account.</p>
<p>The Root Certificate will be installed in Trusted Root Certificate Authorities with Import</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/img6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/img6.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/img6.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/img6.png" border="0" alt=" " /></a></p>
<p>The Certificate Revocation List will be installed in Intermediate Certificate with Import</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/img7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/img7.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/img7.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/img7.png" border="0" alt=" " /></a></p>
<p>After I installed the Root certificate and CRL list I had another issue as the credentials I was using to authenticate on the Edge server were not accepted so I had to create a new Local User and add it to Administrators group on the Microsoft Edge 2013 server to use on the Send connector from the Exchange 2013 server.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/img8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/img8.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/img8.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/img8.png" border="0" alt=" " width="675" height="131" /></a></p>
<p>I am now able to relay emails through my Exchange 2013 Edge server using BasicAuthRequireTLS</p>
<p>If you have any questions please feel free to send an email to cristi.timofte@microsoft.com</p>]]></content:encoded>
    </item>
    <item>
      <title>Enable Free/Busy information between the Office 365 users from two different tenants, when the Autodiscover of one of them is pointing On-Premise</title>
      <link>https://docs.microsoft.com/archive/blogs/ehlro/enable-freebusy-information-between-the-office-365-users-from-two-different-tenants-when-the-autodiscover-of-one-of-them-is-pointing-on-premise</link>
      <pubDate>Thu, 26 Mar 2015 04:05:00 GMT</pubDate>
      <dc:creator><![CDATA[Dragos Nita]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/ehlro/2015/03/26/enable-freebusy-information-between-the-office-365-users-from-two-different-tenants-when-the-autodiscover-of-one-of-them-is-pointing-on-premise/</guid>
      <description><![CDATA[Introduction:
If your organization has 2 major tenants under which user population is getting...]]></description>
      <content:encoded><![CDATA[<p><b>Introduction:</b></p>
<p>If your organization has 2 major tenants under which user population is getting migrated, since the users would be placed into 2 different tenants free/busy information sharing is not enabled by default. Following document introduces the options and steps which are needed in order to have the Free/busy information shared between 2 tenants.</p>
<p>&nbsp;</p>
<p><b>What is Free/Busy data?</b></p>
<p>Free/busy data is information about the availability of individuals within an organization at specified times. The user status data indicates whether the time period specified is free, busy or tentative, or if the user has set their out of office status. However, the data contains no explanatory information, such as whether the user is in a meeting or has a personal appointment or whether they are physically in the office at the requested time.</p>
<p>&nbsp;</p>
<p><b>What is the Organization relationship?</b></p>
<p>In order to setup a free/busy sharing between the two tenants, it is required that a New organization relationship needs to be created - An organization relationship is a one-to-one relationship between businesses to allow users in each organization to view calendar availability information. When it is set up, Administrator is actually setting level of information that the users in the external organization can view. The external organization may set up the same or different settings on their side.</p>
<p>&nbsp;</p>
<p><b>Scope of this article:</b></p>
<p>This article only covers the steps that are required in order to enable Free/Busy information sharing between the Office 365 users from two different tenant. This articles does not cover the topic of sharing the On-Premise Free/Busy information with Office 365 users or On-premise to On-Premise Free/Busy sharing between two hybrid infrastructures.</p>
<p>This articles covers the activation of Free/Busy information between <i>ContosoEU.onmicrosoft.com</i> (a European tenant) and <i>ContosoNA.onmicrosoft.com</i> (a North America tenant).</p>
<p>&nbsp;</p>
<p><b>Configuration Part:</b></p>
<p>Configuration of the free/busy information can be broken into two part and those are:</p>
<p>a) Initial configuration</p>
<p>b) Managing the configuration</p>
<p><b>&nbsp;</b></p>
<p><b>Initial Configuration:</b></p>
<p>Following are the steps which can be followed in order to setup the Organization relationship.</p>
<p><b>On the European tenant</b></p>
<ol>
<li>From the Office 365 admin center dashboard, go to&nbsp;<strong>Admin</strong>&nbsp;&gt;&nbsp;<strong>Exchange</strong>.</li>
<li>Go to&nbsp;<strong>Organization</strong>&nbsp;&gt;&nbsp;<strong>Sharing</strong>.</li>
<li>Under&nbsp;<strong>Organization Sharing</strong>, click&nbsp;<strong>New</strong><b>&nbsp;</b>.</li>
<li>In <strong>New organization relationship</strong>, in the&nbsp;<strong>Relationship name</strong>&nbsp;box, type a friendly name for the organization relationship as <b>&ldquo;Contoso EU to Contoso NA tenant&rdquo;</b></li>
<li>In the&nbsp;<strong>Domains to share with</strong>&nbsp;box, type the domain for the external Office 365 or Exchange on-premises organization as <b>ContosoNA.onmicrosoft.com.</b></li>
<li>Select the&nbsp;<strong>Enable calendar free/busy information sharing</strong>&nbsp;check box to turn on calendar sharing with the domains. Set the sharing level for calendar free/busy information and set which users can share calendar free/busy information.</li>
</ol>
<p>To set the free/busy access level, select one of the following:</p>
<ul>
<li><strong>Calendar free/busy information with time only.</strong></li>
<li><strong>o&nbsp;&nbsp; </strong><strong>Calendar free/busy with time, subject, and location.</strong><strong></strong></li>
</ul>
<ol>
<li>Click&nbsp;save&nbsp;to create the organization relationship.</li>
<li>Once the setup is completed, Organization relationship should show up the following information auto populated into it.</li>
<li>Also make sure that all the federated domains are well populated into the Organization relationship.</li>
</ol>
<p>&nbsp;</p>
<p><b>On the US tenant:</b></p>
<ol>
<li>From the Office 365 admin center dashboard, go to&nbsp;<strong>Admin</strong>&nbsp;&gt;&nbsp;<strong>Exchange</strong>.</li>
<li>Go to&nbsp;<strong>organization</strong>&nbsp;&gt;&nbsp;<strong>sharing</strong>.</li>
<li>Under&nbsp;<strong>Organization Sharing</strong>, click&nbsp;<strong>New</strong><b>&nbsp;</b>.</li>
<li>In&nbsp;<strong>new organization relationship</strong>, in the&nbsp;<strong>Relationship name</strong>&nbsp;box, type a friendly name for the organization relationship as <b>&ldquo;Contoso NA to Contoso EU tenant&rdquo;</b></li>
<li>In the&nbsp;<strong>Domains to share with</strong>&nbsp;box, type the domain for the external Office 365 or Exchange on-premises organization as <b>contosoeu.onmicrosoft.com</b></li>
<li>Select the&nbsp;<strong>Enable calendar free/busy information sharing</strong>&nbsp;check box to turn on calendar sharing with the domains. Set the sharing level for calendar free/busy information and set which users can share calendar free/busy information.</li>
</ol>
<p>To set the free/busy access level, select one of the following:</p>
<ul>
<li><strong>Calendar free/busy information with time only.</strong></li>
<li><strong>Calendar free/busy with time, subject, and location</strong><strong>.</strong></li>
</ul>
<ol>
<li>Click&nbsp;save&nbsp;to create the organization relationship.</li>
<li>Once the setup is completed, Organization relationship should show up the following information auto populated into it.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</li>
<li>Also make sure that all the federated domains are well populated into the Organization relationship.</li>
</ol>
<p><b>&nbsp;</b></p>
<p><b>Managing this configuration:</b></p>
<p>When the initial setup is completed, it would be necessary to make sure that all the new domains which are getting added into the O365 are participating into the Organization relationship and in order to update the information onto the Organization relationship here are the steps.</p>
<ol>
<li>From the Office 365 admin center dashboard, go to&nbsp;<strong>Admin</strong>&nbsp;&gt;&nbsp;<strong>Exchange</strong>.</li>
<li>Go to&nbsp;<strong>organization</strong>&nbsp;&gt;&nbsp;<strong>sharing</strong>.</li>
<li>Double click on the Organization Relationship which has been created &ndash; type in the domain name into the section &ldquo;Enter a domain here&rdquo; and Press + button</li>
<li>Click save to complete configuration</li>
</ol>
<p>&nbsp;</p>
<p><b>How to know if this has worked:</b></p>
<p>After the configuration is completed Free/busy availability details should be visible across both the tenants &ndash;any O365 users in the EU or NA tenant should be able to see the free/busy information of any EU/NA tenant user.</p>
<p>&nbsp;</p>
<div>
<p><b>Important:</b></p>
<p>Taking into consideration that the new organization relationships were created for the vanity domains, <i>ContosoEU.onmicrosoft.com &ndash; in the US tenant</i> and <i>ContosoNA.onmicrosoft.com &ndash; in the EU tenant</i>, the new domains should be added automatically. However, recommendation process is to double-check the settings of the concerned organization relationship once a new domain will be added in the US or EU tenant</p>
</div>
<p></p>
<p><b>How does the Organization Relationship works in this scenario?</b></p>
<p>By creating the organization relationships with the vanity domains, all the Office 365 users from these two tenants will be able to see their Free/Busy information, based on the MFG token and here is the flow of how it actually works.</p>
<ol start="1">
<li>A user who is in the <b><i>ContosoEU</i></b> tenant requests Free/Busy information for <a href="mailto:User1@contosona.com.%20(which">User1@contosona.com</a> (which is on the NA tenant) This request is made at the Exchange online.</li>
<li>The Exchange online will now lookup its organizational relationships and verify if it has one for <b><i>contosona.com</i></b>.</li>
<li>Now, the Exchange online will contact the Microsoft Federation Gateway and request an authentication token for <b><i>contosona.com.</i></b></li>
<li>The MFG sends back a token because <b><i>contosona.com</i></b> has a trust relationship with the MFG.</li>
<li>The Exchange Online now uses the information it obtained from the Organization Relationship to do an Autodiscover request for this domain, in order to retrieve the remote Exchange Web Services endpoint it should connect to. It then uses the address that is received to send the Free/Busy request to.</li>
<li>Exchange Online of the NA tenant will first check whether the MFG token which the Exchange EU tenant has sent across with is valid before accepting the Free/Busy Request.</li>
<li>It will also verify its organization relationship so that it knows what information it is allowed to return.</li>
<li>Once the above checks are completed, the mailbox of <a href="mailto:User1@contosona.com">User1@contosona.com</a> will be queried for the Free/Busy information.</li>
<li>Exchange Online of NA tenant will send back the Free/Busy information to the EU tenant, once it will be successfully obtained.</li>
</ol>]]></content:encoded>
    </item>
    <item>
      <title>4133 Database one datacenter health check failed.

4376 Database one datacenter available copy health check failed.</title>
      <link>https://docs.microsoft.com/archive/blogs/ehlro/4133-database-one-datacenter-health-check-failed-4376-database-one-datacenter-available-copy-health-check-failed</link>
      <pubDate>Wed, 08 Oct 2014 09:21:00 GMT</pubDate>
      <dc:creator><![CDATA[Ana-Maria Mihale]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/ehlro/2014/10/08/4133-database-one-datacenter-health-check-failed-4376-database-one-datacenter-available-copy-health-check-failed/</guid>
      <description><![CDATA[&nbsp;
&ldquo;Every day brings a new challenge&hellip;&rdquo;
I am still convinced, that whoever...]]></description>
      <content:encoded><![CDATA[<p>&nbsp;</p>
<p>&ldquo;Every day brings a new challenge&hellip;&rdquo;</p>
<p>I am still convinced, that whoever said that first, was an Exchange Server Administrator&hellip;</p>
<p>If you wake up one day and find these two beautiful events in your Application Logs, no need to wonder:</p>
<p>&nbsp;</p>
<p><i>4133 Database one datacenter health check failed.</i></p>
<p><i>4376 Database one datacenter available copy health check failed.</i></p>
<p><i>&nbsp;</i></p>
<p>&nbsp;</p>
<p><span style="font-family:Calibri;">Log Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Application</span></p>
<p><span style="font-family:Calibri;">Source:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MSExchangeRepl</span></p>
<p><span style="font-family:Calibri;">Date:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &hellip;</span></p>
<p><span style="font-family:Calibri;">Event ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4133</span></p>
<p><span style="font-family:Calibri;">Task Category: Service</span></p>
<p><span style="font-family:Calibri;">Level:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error</span></p>
<p><span style="font-family:Calibri;">Keywords:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Classic</span></p>
<p><span style="font-family:Calibri;">User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; N/A</span></p>
<p><span style="font-family:Calibri;">Computer:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &hellip;</span></p>
<p><span style="font-family:Calibri;">Description:</span></p>
<p><span style="font-family:Calibri;"><b>Database one datacenter health check failed</b>.</span></p>
<p><span style="font-family:Calibri;">Database copy: &hellip;</span></p>
<p><span style="font-family:Calibri;">Redundancy count: 2</span></p>
<p><span style="font-family:Calibri;">Error:</span></p>
<p><span style="font-family:Calibri;">================</span></p>
<p><span style="font-family:Calibri;">Full Copy Status</span></p>
<p><span style="font-family:Calibri;">================</span></p>
<p><span style="font-family:Calibri;">&hellip;</span></p>
<p><span style="font-family:Calibri;">&nbsp;</span></p>
<p><span style="font-family:Calibri;">&nbsp;</span></p>
<p><span style="font-family:Calibri;">Log Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Application</span></p>
<p><span style="font-family:Calibri;">Source:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MSExchangeRepl</span></p>
<p><span style="font-family:Calibri;">Date:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &hellip;</span></p>
<p><span style="font-family:Calibri;">Event ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4376</span></p>
<p><span style="font-family:Calibri;">Task Category: Service</span></p>
<p><span style="font-family:Calibri;">Level:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error</span></p>
<p><span style="font-family:Calibri;">Keywords:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Classic</span></p>
<p><span style="font-family:Calibri;">User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;N/A</span></p>
<p><span style="font-family:Calibri;">Computer:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &hellip;</span></p>
<p><span style="font-family:Calibri;">Description:</span></p>
<p><span style="font-family:Calibri;"><b>Database one datacenter available copy health check failed</b>.</span></p>
<p><span style="font-family:Calibri;">Database copy: &hellip;</span></p>
<p><span style="font-family:Calibri;">Redundancy count: 2</span></p>
<p><span style="font-family:Calibri;">Error:</span></p>
<p><span style="font-family:Calibri;">================</span></p>
<p><span style="font-family:Calibri;">Full Copy Status</span></p>
<p><span style="font-family:Calibri;">================</span></p>
<p><span style="font-family:Calibri;">&hellip;</span></p>
<p><i><span style="font-family:Times New Roman;font-size:medium;"> </span><br /></i></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>After performing some tests in our Exchange 2013 test environments, we managed to find out that these events could be expected in the following scenario:</p>
<ul>
<li>
<p>spanned DAG over multiple physical locations but in one AD site, containing at least 2 nodes</p>
</li>
<li>
<p>created Passive copies for the DBs</p>
</li>
<li>
<p>enabled DAC Mode for DAG (DagOnly)</p>
<p>&nbsp;</p>
<p>Results:</p>
</li>
</ul>
<ul>
<li>
<p>These errors were thrown only after enabling DAC Mode on the DAG (errors started to be thrown for all DBs and all their copies that existed on nodes in the same AD site)</p>
</li>
<li>
<p>Please note that these errors can be thrown also in a scenario where DAG members are split over 2 or more AD sites, but where Databases are replicated only over nodes in the same AD site.</p>
</li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><b>What to do?</b></p>
<ol>
<li>
<p>Not to panic! These events can be safely ignored. They do not refer to any issues with the DAC mode, nor with replication between nodes.</p>
<p>&nbsp;*** Please make sure however that you are not hitting another issue. You must check the &ldquo;<b>Error</b>&rdquo; Section in the description of these events (both Event ID 4133 and 4376). In our case described in this blog, you will see this Error Section is empty:</p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/1blog.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/1blog.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/1blog.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/1blog.jpg" border="0" /></a></p>
<p>&nbsp;</p>
<p></p>
<p>If this section is not empty, but populated with extra information, as in the screenshot below, please troubleshoot it separately, as this is not our scenario:</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/2blog.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/2blog.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/2blog.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/2blog.jpg" border="0" /></a></p>
<p>&nbsp;The information in this Error section might indicate real issues which need further investigation. So please do not ignore the events, if this error section is populated.</p>
<p>&nbsp;</p>
</li>
<li>
<p>You can disable the DAC mode (these errors will not be logged anymore, if DAC mode disabled)</p>
</li>
<li>
<p>You can span the DAG members on two AD Sites and make sure each <b>DB has a copy in each site</b>, the errors will not be logged anymore.</p>
</li>
<li>
<p>You can wait for CU7, as there are plans to change the design in a way that will not log these errors in the Application Logs any more but in the &bdquo;Monitoring&ldquo; Crimson Channel Log and that will add relevant text in the Error section in these events, so that you can have a better understanding of their cause.</p>
</li>
</ol>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Exchange 2013 Malware Engine Updates Troubleshooting</title>
      <link>https://docs.microsoft.com/archive/blogs/ehlro/exchange-2013-malware-engine-updates-troubleshooting</link>
      <pubDate>Wed, 20 Aug 2014 06:01:00 GMT</pubDate>
      <dc:creator><![CDATA[Cristi Timofte]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/ehlro/2014/08/20/exchange-2013-malware-engine-updates-troubleshooting/</guid>
      <description><![CDATA[As we have introduced Anti-malware filtering by default in Exchange 2013 we have noticed that some...]]></description>
      <content:encoded><![CDATA[<div style="direction:ltr;">
<p>As we have introduced Anti-malware filtering by default in Exchange 2013 we have noticed that some Exchange servers fail to update the engines.</p>
<p>We do have a couple of scripts designed to manage Anti-malware filtering, all these scripts are located in the Scripts folder of Exchange 2013 so you have to go the folder by using :</p>
<p><strong>cd $ExScripts</strong></p>
<p>Available scripts<br /><em>.\Disable-AntiMalwareScanning.ps1</em><br /><em>.\Enable-AntiMalwareScanning.ps1</em></p>
<p>After running any of the above scripts you have to restart &quot;MSExchange Trasport&quot; service by running :</p>
<p>Restart-Service MSExchangeTransport</p>
<p>To manually force an update you can use the .\Update-MalwareFilteringServer.ps1 script</p>
<p><em>.\Update-MalwareFilteringServer.ps1 &lt;Server_Name&gt;</em></p>
<p>To verify that updates were successfully downloaded, check the event log:<br />1. Open&nbsp;Event Viewer;<br />2. In&nbsp;Event Viewer, expand the&nbsp;Windows Logs&nbsp;folder, and then click&nbsp;Application;<br />3. In the&nbsp;Actions&nbsp;menu, click&nbsp;Filter Current Log;<br />4. In the&nbsp;Filter Current Log&nbsp;dialog box, from the Event sources drop-down list, select the&nbsp;FIPFS&nbsp;check box, and then click OK.<br />If engine updates were downloaded successfully, you will see an&nbsp;Event ID 6033&nbsp;similar to the following:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/1.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/1.png" border="0" /></a></p>
<p>If the engine updates fail, you will see an Event ID 6027 similar to the following :</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/2.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/2.png" border="0" /></a></p>
<p><br />How to troubleshoot this issue ?</p>
<p>We will start by making sure there is no Proxy rule so just open your browser and open</p>
<p><a href="https://forefrontdl.microsoft.com/server/scanengineupdate/">https://forefrontdl.microsoft.com/server/scanengineupdate/</a></p>
<p>This is the page that should be returned</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/3.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/3.png" border="0" /></a></p>
<p>What we will do to solve Event ID 6027 is to create a centralized server for downloading and distributing the malware engines.</p>
<p>After deciding on what server you will store the malware engines please create a local directory structure on the computer on which you want to download the scan engine updates. To do this, follow these steps: <br />&nbsp;a. Create a directory. For example, create a directory that is named &quot;ScanEngineUpdates.&quot;<br />&nbsp;b. Set the NTFS file system and share permissions on the directory so that the exchange servers and &quot;NT AUTHROITY\Network Service&quot; have access to the directory.<br />&nbsp;<br />Please visit the below KB article to download the Update-Engines.ps1 Powershell script<br /><a href="https://support.microsoft.com/kb/2292741">https://support.microsoft.com/kb/2292741</a></p>
<p>Execute the Update-Engines.ps1 Powershell script, providing any necessary parameters. The format of the command is as follows:<br />Update-Engines.ps1 -EngineDirPath &lt;string&gt; -UpdatePathUrl &lt;update url&gt; -Engines &lt;engine names&gt; -Platforms &lt;platform names&gt;<br />&nbsp;o <strong>EngineDirPath</strong> &lt;string&gt; The directory to serve as the root engines directory, created in step 2. This is a required parameter<br />&nbsp;o <strong>UpdatePathUrl</strong> &lt;update url&gt; The update path used to pull the updates from<br />&nbsp;o <strong>Engines</strong> &lt;engine names&gt; The list of names of engines to update<br />&nbsp;<br /><strong>Note:</strong>&nbsp;Multiple engine names should be separated by commas, with or without spaces.<br /><strong>Platforms</strong> &lt;platform names&gt; The list of names of platforms to update<br />&nbsp;<br /><em>Update-Engines.ps1 -EngineDirPath C:\ScanEngineUpdates\</em><br /><em>Update-Engines.ps1 -EngineDirPath C:\ScanEngineUpdates\ -UpdatePathUrl https://forefrontdl.microsoft.com/server/scanengineupdate/ -Engines Microsoft -Platforms amd64, x86</em><br /><em>Update-Engines.ps1 -EngineDirPath C:\ScanEngineUpdates\ -UpdatePathUrl https://forefrontdl.microsoft.com/server/scanengineupdate/ -Engines Microsoft -Platforms amd64, x86</em><br />&nbsp;<br />You can now configure Exchange servers to download updates from the directory created<br />&nbsp;<br />Open a PowerShell window on the Exchange server where you want to distribute the engine<br />&nbsp;<br /><span style="font-family:arial,helvetica,sans-serif;">Add-PSSnapin Microsoft.Forefront.Filtering.Management.Powershell</span><br /><span style="font-family:arial,helvetica,sans-serif;">&nbsp;</span><br /><span style="font-family:arial,helvetica,sans-serif;font-size:small;"><em>Set-EngineUpdateCommonSettings &ndash;SecondaryUpdatePath \\server\ScanEngineUpdate\</em></span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/4.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/4.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/4.png" border="0" /></a></p>
<p>This will be removed at the next server reboot. To make this change permanent please use :</p>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:small;"><span><i>Set-MalwareFilteringServer</i> -PrimaryUpdatePath <a>\\server\ScanEngineUpdate\</a></span></span></p>
<p><em>Start-EngineUpdate</em><br />&nbsp;<br />To verify if the Engine Update was successful you can run</p>
<p><em>Get-EngineUpdateInformation | fl</em></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/5.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/5.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/5.png" border="0" /></a></p>
<p>If the update fails we will see the UpdateStatus : UpdateAttemptFailed and we will also have the Event ID 6027</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/6.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/6.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/6.png" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/7.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/7.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/7.png" border="0" /></a></p>
<p>If the above will not resolve your issue check that &quot;NT AUTHROITY\Network Service&quot; has full access for the folder Program Files\Microsoft\Exchange\V15\FIP-FS\Data\Engines\amd64\Microsoft\bin, in case you have installed Exchange in different drive, you need to add &quot;NT AUTHROITY\Network Service&quot; on the drive itself.</p>
<p>If you have closed the Exchange Powershell you have to add the ForeFront PSSnappin again to have access to Forefront cmdlets.</p>
<p><em>Add-PSSnapin -Name Microsoft.Forefront.Filtering.Management.PowerShell</em></p>
<p><em>Start-EngineUpdate</em></p>
<p>Restart Microsoft Filtering Management Service.</p>
<p>After few minutes update will be finished and if you run Get-EngineUpdateInformation again it should show if it was updated.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/8.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/8.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/8.png" border="0" /></a></p>
<p>If the above fail the final way to get this solves it to manually add the files to the FIP-FS folder</p>
<p>Download latest manifest file (xml compressed in cab file) from https://forefrontdl.microsoft.com/server/scanengineupdate/x86/Microsoft/Package/manifest.cab</p>
<p>Unpack manifest.xml and verify engine number - for today and change the number with red from the link below :</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/9.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/9.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/9.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/9.jpg" border="0" /></a></p>
<p>Download&nbsp; https://forefrontdl.microsoft.com/server/scanengineupdate/x86/Microsoft/Package/<span style="color:#ff0000;background-color:#ffffff;"><strong>1408070001</strong></span>/Microsoft_fullpkg.cab and unpack to a separate folder somewhere on disk.</p>
<p>Open C:\Program Files\Microsoft\Exchange Server\V15\FIP-FS\Data\Engines\amd64\Microsoft\bin (if you installed Exchange with default path)</p>
<p>Do a backup of the existing files first in the above folder and the copy the files unpacked from the cab file to this folder.</p>
<p>Restart Microsoft Filtering Management Service.</p>
<p>After few minutes your first update will be finished and if you run Get-EngineUpdateInformation again it should show you actual data.</p>
<p>Make sure &quot;NT AUTHROITY\Network Service&quot; has full access for the folder Program Files\Microsoft\Exchange\V15\FIP-FS\Data\ in case you have installed exchange in different drive, you need to add &quot;NT AUTHROITY\Network Service&quot; on the drive itself.</p>
<p>For any questions please feel free to contact me.</p>
<p>Cristi Timofte<br /><a href="mailto:cristi.timofte@Microsoft.com">cristi.timofte@Microsoft.com</a></p>
</div>]]></content:encoded>
    </item>
    <item>
      <title>How to: RBAC</title>
      <link>https://docs.microsoft.com/archive/blogs/ehlro/how-to-rbac</link>
      <pubDate>Tue, 24 Jun 2014 07:09:13 GMT</pubDate>
      <dc:creator><![CDATA[Laschon Elisabeth]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/ehlro/2014/06/24/how-to-rbac/</guid>
      <description><![CDATA[The topic of this blog is to achieve a RBAC-based solution through which we can limit, or split the...]]></description>
      <content:encoded><![CDATA[<p align="center" style="text-align:left;"><span style="font-family:Calibri;font-size:medium;">The topic of this blog is to achieve a RBAC-based solution through which we can limit, or split the access administrators have on a set of databases. </span></p>
<p><span style="font-family:Calibri;font-size:medium;">In laymen terms we will have two groups of administrators:</span></p>
<p><span style="font-family:Calibri;font-size:medium;">1) The first group is able to access any database and perform actions on it (we will call this group the &ldquo;<strong>special administrator</strong>&rdquo;)</span></p>
<p><span style="font-family:Calibri;font-size:medium;">2) The second group has absolutely no access on what we will call our &ldquo;<strong>special database</strong>&rdquo; but can perform actions on regular databases, he&rsquo;s the normal administrator. </span></p>
<p><span style="font-family:Calibri;font-size:medium;">For this scenario, we have defined two databases, <b>DB</b> being a regular database and <b>RBAC-DB</b> being the &ldquo;special database&rdquo; that should only be accessed by the &ldquo;special&rdquo; administrator.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">To understand the topology a little better:</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/topo.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/topo.jpg"><img width="524" height="94" style="width:581px;height:103px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/topo.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/topo.jpg" border="0" /></a></p>
<p><span style="font-family:Calibri;font-size:medium;">Our <strong>&ldquo;special</strong> <strong>administrator</strong>&rdquo; is called Admin, and has all the necessary administrator permissions:</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/permi.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/permi.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/permi.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/permi.jpg" border="0" /></a></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;">We start with the basic scope on the database level, an exclusive scope as opposed to a regular scope, because we want <b>Admin</b> to have access to <b>RBAC-DB</b> (and <b>all other DBs</b>) and <b>Administrator</b> to have access to <b>all</b> <b>DBs</b> but not <b>RBAC-DB</b>. For this we use the below cmdlet:</span></span></p>
<p><span style="font-family:Calibri;font-size:medium;background-color:#ffcc00;">New-managementscope &ndash;Name &ldquo;RBAC-DB&rdquo; &ndash;<b>DatabaseList</b>: RBAC-DB -Exclusive</span></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/scope1.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/scope1.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/scope1.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/scope1.jpg" border="0" /></a></span></span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/scope1.1.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/scope1.1.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/scope1.1.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/scope1.1.jpg" border="0" /></a></p>
<p><span style="font-family:Calibri;font-size:medium;">You can see that the <b>ScopeRestrictionType</b> is set to DatabaseScope, as I have named these databases with the parameter <b>&ndash;DatabaseList</b>. However the same should be achievable also on Server level, in which you just use the parameter <b>&ndash;ServerList</b>.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">As soon as the scope has been defined, we need to introduce the Role Assignments, which basically tie the Scope to the Role Entry and to the Person being assigned the scope (can be a Role Group, Security Group or a single User), as observed in the below picture:</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/rbac.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/rbac.jpg"><img width="383" height="309" style="width:337px;height:264px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/rbac.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/rbac.jpg" border="0" /></a><br clear="all" /><span style="font-family:Calibri;font-size:medium;"> </span></p>
<p><span style="font-family:Calibri;font-size:medium;">In order to do this you need to think about what your administrator is allowed to do. If you want a better overview of what he &ldquo;can&rdquo; do, just run the bellow cmdlets:</span></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;"><b>Get-ManagementRoleAssignment |fl *Role*</b> or use any other filter to get the necessary information. </span></span></p>
<p><span style="font-family:Calibri;font-size:medium;">The list can be quite long, as we have a substantial number of Role Assignments created by default in Exchange 2010, but you can also have a quick look at the TechNet article describing <span style="text-decoration:underline;">Management roles assigned to this role group</span>:</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Organization Management: </span><a href="https://technet.microsoft.com/en-us/library/dd335087(v=exchg.150).aspx"><span style="color:#0563c1;font-family:Calibri;font-size:medium;">https://technet.microsoft.com/en-us/library/dd335087(v=exchg.150).aspx</span></a><span style="font-family:Calibri;font-size:medium;"> </span></p>
<p><span style="font-family:Calibri;font-size:medium;">What we want to see is that when the normal administrator tries to access the &ldquo;special DB&rdquo; in any way, he gets the bellow error message, as opposed to our &ldquo;special admin&rdquo; being able to complete any actions he wants:</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/qwe.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/qwe.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/qwe.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/qwe.jpg" border="0" /></a></p>
<p><span style="font-family:Calibri;font-size:medium;">We want our administrator to have all the necessary permissions a normal administrator has, so we will use the bellow Management Role Assignments:</span></p>
<p><b><span style="font-family:Calibri;font-size:medium;">New-ManagementRoleAssignment &ndash;Name &ldquo;Config-Databases&rdquo; &ndash;Role Databases &ndash;SecurityGroup Admins &ndash;ExclusiveConfigWriteScope RBAC-DB</span></b></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/config-db.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/config_2D00_db.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/config-db.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/config_2D00_db.png" border="0" /></a></p>
<p><span style="font-family:Calibri;font-size:medium;">Test results so far:</span></p>
<p><span style="font-family:Calibri;font-size:medium;"><strong>Note:</strong> PowerShell and the Exchange Management Console need to be restarted for the changes to be applied!</span></p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="253" valign="top" colspan="2"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">Actions on the DBs included in the scope</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="228" valign="top" colspan="2"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">Actions on the DBs <b>not</b> included in the scope</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;"><span style="font-size:medium;">&nbsp;Actions</span></span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">administrator</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">VIP_Admin</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">administrator</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">VIP_Admin</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">mount/dismount/remove DB</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Create recipients</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Remove Recipients</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">move recipients from normal DB into special DB</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="228" colspan="2">
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
</td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">move recipients from special DB into normal DB</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="228" colspan="2">
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
</td>
</tr>
</tbody>
</table>
<p><span style="font-family:Calibri;font-size:medium;">We are not satisfied with these results yet, the special administrator&rsquo;s actions should be all green on the special DB.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Hence we are adding a second Role Assignment, as the error messages we are getting show us that we don&rsquo;t have the necessary access rights yet:</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/rbac-db01%20not%20in%20scope.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/rbac_2D00_db01-not-in-scope.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/rbac-db01%20not%20in%20scope.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/rbac_2D00_db01-not-in-scope.png" border="0" /></a></p>
<p><b><span style="font-family:Calibri;font-size:medium;">For example, the below management role assignment allowed my special administrator to create mailboxes on the special DB without getting the error message.</span></b></p>
<p><b><span style="font-family:Calibri;"><span style="font-size:medium;">New-ManagementRoleAssignment &ndash;Name &ldquo;VIP Recipient Creation&rdquo; &ndash;Role &ldquo;Mail Recipient Creation&rdquo; &ndash;SecurityGroup Admins &ndash;ExclusiveConfigWriteScope RBAC-DB</span></span></b></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/viprecipcreation.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/viprecipcreation.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/viprecipcreation.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/viprecipcreation.png" border="0" /></a></span></p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="253" valign="top" colspan="2"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">Actions on RBAC-DB (database included in the scope)</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="228" valign="top" colspan="2"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">Actions on DB (database<b> not</b> included in the scope)</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;"><span style="font-size:medium;">&nbsp;Actions</span></span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">administrator</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">VIP_Admin</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">administrator</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">VIP_Admin</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Create recipients</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Remove Recipients</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
</tbody>
</table>
<p><b><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></b><span style="font-family:Calibri;font-size:medium;">For a quick reference of what a RoleEntry exactly contains, you can run the cmdlet &ldquo;Get-ManagementRoleEntry &ldquo;Mail Recipients\*&rdquo;, for example.</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/get-roleentry.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/get_2D00_roleentry.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/get-roleentry.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/get_2D00_roleentry.png" border="0" /></a></p>
<p><span style="font-family:Calibri;font-size:medium;">As an Exchange Administrator, I want to take advantage of what a DAG has to offer, so I need to make sure that I will still be able to run the DAG cmdlets:</span></p>
<p><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/roledbcopies.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/roledbcopies.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/roledbcopies.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/roledbcopies.png" border="0" /></a></span></p>
<p><span style="font-family:Calibri;font-size:medium;">This RoleAssignment allows us to:</span></p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="253" valign="top" colspan="2"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">Actions on RBAC-DB (database included in the scope)</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="228" valign="top" colspan="2"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">Actions on DB (database<b> not</b> included in the scope)</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;"><span style="font-size:medium;">&nbsp;Actions</span></span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">administrator</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">VIP_Admin</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">administrator</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">VIP_Admin</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Suspend DB Copies</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Resume DB Copies</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Activate DB Copies</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Remove DB Copies</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Move active Mailbox DB</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
</tbody>
</table>
<p><b><span style="font-family:Calibri;font-size:medium;">New-ManagementRoleAssignment &ndash;Name Moves &ndash;Role &ldquo;Move Mailboxes&rdquo; &ndash;SecurityGroup Admins &ndash;ExclusiveConfigWriteScope RBAC-DB</span></b></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/movem.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/movem.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/movem.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/movem.png" border="0" /></a></p>
<p><span style="font-family:Calibri;font-size:medium;">Test results so far:</span></p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="253" valign="top" colspan="2"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">Actions on RBAC-DB (database included in the scope)</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="228" valign="top" colspan="2"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">Actions on DB (database<b> not</b> included in the scope)</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;"><span style="font-size:medium;">&nbsp;Actions</span></span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">administrator</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">VIP_Admin</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">administrator</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">VIP_Admin</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">move recipients from normal DB into special DB</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="228" colspan="2">
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
</td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">move recipients from special DB into normal DB</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="228" colspan="2">
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
</td>
</tr>
</tbody>
</table>
<p><br /><span style="font-family:Calibri;font-size:medium;"> </span><span style="font-family:Calibri;font-size:medium;">Upon doing another move test, the results remained the same. The reason for this escaped me until I realized that the move action is done on a <b><span style="text-decoration:underline;">recipient level</span></b>.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">At this point I realized we need to introduce a second Management Scope, to be able to include a set of cmdlets found only under Recipient Scopes (we noticed that we cannot do mailbox moves or mailbox imports and exports&nbsp;just with the above configuration). </span></p>
<p><span style="font-family:Calibri;font-size:medium;">Basically the cmdlets in the roles &quot;<b>Move Mailboxes</b>&quot; and &quot;<b>Mailbox Import Export</b>&quot; only work at a recipient level, which is why we need to add a Recipient Scope to our Database Scope.</span></p>
<p><span style="background-color:#ffcc00;"><b><span style="font-family:Calibri;font-size:medium;">New-ManagementScope -Name &ldquo;VIP_Scope&rdquo; -RecipientRestrictionFilter { MemberOfGroup -eq &lsquo;Thresh.com/Users/VIP&rsquo; } &ndash;Exclusive</span></b></span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/scope2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/scope2.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/scope2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/scope2.png" border="0" /></a></p>
<p><span style="font-family:Calibri;font-size:medium;">For this new scope we add the three Role Assignments, to be able to complete our necessary set of actions, as follows:</span></p>
<p><b><span style="font-family:Calibri;font-size:medium;">New-ManagementRoleAssignment -Name &ldquo;Recipient Creation&rdquo; -Role &ldquo;Mail Recipient Creation&rdquo; &ndash;SecurityGroup &ldquo;Admins&rdquo; &ndash;ExclusiveRecipientWriteScope &ldquo;VIP_Scope&rdquo;</span></b></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/recipcreation.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/recipcreation.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/recipcreation.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/recipcreation.png" border="0" /></a></span></p>
<p><b><span style="font-family:Calibri;font-size:medium;">New-ManagementRoleAssignment -Name &ldquo;VIP_Move_Mailboxes&rdquo; -Role &ldquo;Move Mailboxes&rdquo; &ndash;SecurityGroup &ldquo;Admins&rdquo; &ndash;ExclusiveRecipientWriteScope &ldquo;VIP_Scope&rdquo;</span></b></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/Move%20Mailboxes2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/Move-Mailboxes2.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/Move%20Mailboxes2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/Move-Mailboxes2.png" border="0" /></a></span><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><b><span style="font-family:Calibri;font-size:medium;">New-ManagementRoleAssignment -Name &ldquo;VIP_ Import_Export&rdquo; -Role &ldquo;Mailbox Import Export&rdquo; &ndash;SecurityGroup &ldquo;Admins&rdquo; &ndash;ExclusiveRecipientWriteScope &ldquo;VIP_Scope&rdquo;</span></b></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/Mailbox%20Import%20Export.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/Mailbox-Import-Export.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/Mailbox%20Import%20Export.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/Mailbox-Import-Export.png" border="0" /></a></span></p>
<p><span style="font-family:Calibri;font-size:medium;">Upon further testing, the results are really good:</span></p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="371" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">DBs included in the scope:</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="371" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">DBs <b>not </b>included in the scope:</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
<tr>
<td width="371" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;"><span style="font-size:medium;"><b>RBAC_DB01</b> </span></span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;"><span style="font-size:medium;"><b>RBAC_DB02</b> </span></span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;"><span style="font-size:medium;"><b>RBAC_DB03</b> </span></span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="371" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><b><span style="font-family:Calibri;font-size:medium;">Mailbox Database 0074431211</span></b></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><b><span style="font-family:Calibri;font-size:medium;">Mailbox Database 1739103774</span></b></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><b><span style="font-family:Calibri;font-size:medium;">Mailbox Database 1239617449</span></b></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
</tbody>
</table>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="253" valign="top" colspan="2"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">Actions on RBAC-DB (database included in the scope)</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="228" valign="top" colspan="2"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">Actions on DB (database<b> not</b> included in the scope)</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;"><span style="font-size:medium;">&nbsp;Actions</span></span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">administrator</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">VIP_Admin</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">administrator</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;">VIP_Admin</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">mount/dismount/remove DB</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Create mailboxes</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">move recipients from and to the DB</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Create/mount/dismount/remove DB</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Create/delete/disable/enable/move recipients from and to the DB</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Suspend/Resume/Activate/Remove DB copies</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Move Active Mailbox DB</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Create a new PF DB</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Create new public folders in an existing PF DB</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Replicate PF DBs</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Modify/remove/mail enable/move/replicate existing public folders in PMC</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Enable online archive for users</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
<tr>
<td width="297" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>
<p><span style="font-family:Calibri;font-size:medium;">Modify Send As/Full Access permissions for users</span></p>
<span style="font-family:Times New Roman;font-size:medium;"> </span></td>
<td width="136" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#ff0000;">NO</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#ff0000;"> </span></td>
<td width="118" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="120" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
<td width="108" valign="top"><span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span>
<p align="center"><span style="font-family:Calibri;font-size:medium;background-color:#00ff00;">YES</span></p>
<span style="font-family:Times New Roman;font-size:medium;background-color:#00ff00;"> </span></td>
</tr>
</tbody>
</table>
<p><strong><span style="font-size:large;">To sum things up, what makes the difference:</span></strong></p>
<p><span style="text-decoration:underline;"><span style="font-family:Calibri;"><span style="font-size:medium;">1 Scope on DB level set on RestrictiveRecipientConfigScope +<b> </b>ManagementRoleAssigments:</span></span></span></p>
<p><b><span style="font-family:Calibri;font-size:medium;">New-ManagementRoleAssignment &ndash;Name &ldquo;Config-Databases&rdquo; &ndash;Role Databases &ndash;SecurityGroup Admins &ndash;ExclusiveConfigWriteScope RBAC-DB</span></b></p>
<p><b><span style="font-family:Calibri;font-size:medium;">New-ManagementRoleAssignment &ndash;Name &ldquo;VIP Recipient Creation&rdquo; &ndash;Role &ldquo;Mail Recipient Creation&rdquo; &ndash;SecurityGroup Admins &ndash;ExclusiveConfigWriteScope RBAC-DB</span></b></p>
<p><b><span style="font-family:Calibri;font-size:medium;">New-ManagementRoleAssignment &ndash;Name Moves &ndash;Role &ldquo;Move Mailboxes&rdquo; &ndash;SecurityGroup Admins &ndash;ExclusiveConfigWriteScope RBAC-DB</span></b></p>
<p><span style="text-decoration:underline;"><span style="font-family:Calibri;"><span style="font-size:medium;">1 Scope on Recipient level set on RestrictiveRecipientWriteScope + ManagementRoleAssigments:</span></span></span></p>
<p><b><span style="font-family:Calibri;font-size:medium;">New-ManagementRoleAssignment -Name &ldquo;Recipient Creation&rdquo; -Role &ldquo;Mail Recipient Creation&rdquo; &ndash;SecurityGroup &ldquo;Admins&rdquo; &ndash;ExclusiveRecipientWriteScope &ldquo;VIP_Scope&rdquo;</span></b></p>
<p><b><span style="font-family:Calibri;font-size:medium;">New-ManagementRoleAssignment -Name &ldquo;VIP_Move_Mailboxes&rdquo; -Role &ldquo;Move Mailboxes&rdquo; &ndash;SecurityGroup &ldquo;Admins&rdquo; &ndash;ExclusiveRecipientWriteScope &ldquo;VIP_Scope&rdquo;</span></b></p>
<p><b><span style="font-family:Calibri;font-size:medium;">New-ManagementRoleAssignment -Name &ldquo;VIP_ Import_Export&rdquo; -Role &ldquo;Mailbox Import Export&rdquo; &ndash;SecurityGroup &ldquo;Admins&rdquo; &ndash;ExclusiveRecipientWriteScope &ldquo;VIP_Scope&rdquo;</span></b></p>
<p><span style="font-family:Calibri;font-size:medium;">+ You need to consider what necessary Management Scope Assignments need to be added for further functionalities to work.</span><span style="font-family:Calibri;font-size:medium;">&nbsp;I recommend testing the environment before deployment as it&#39;s quite a tricky configuration.</span></p>
<p><span style="font-family:Times New Roman;font-size:medium;"> </span></p>]]></content:encoded>
    </item>
    <item>
      <title>Manage Send As fails on mail-enabled public folders created in Exchange 2003 and migrated to 2010</title>
      <link>https://docs.microsoft.com/archive/blogs/ehlro/manage-send-as-fails-on-mail-enabled-public-folders-created-in-exchange-2003-and-migrated-to-2010</link>
      <pubDate>Mon, 02 Jun 2014 05:04:34 GMT</pubDate>
      <dc:creator><![CDATA[Marilie]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/ehlro/2014/06/02/manage-send-as-fails-on-mail-enabled-public-folders-created-in-exchange-2003-and-migrated-to-2010/</guid>
      <description><![CDATA[I recently had a case with a major customer which inspired me to write this blog post.
Consider the...]]></description>
      <content:encoded><![CDATA[<p>I recently had a case with a major customer which inspired me to write this blog post.</p>
<p>Consider the following scenario: in Exchange 2010 you have some old mail-enabled public folders migrated from Exchange 2003. You notice that editing AD permissions such as Send As on these folders fails. So you are logged in with an account that&rsquo;s member of Organization Management, you go in Exchange Management Console &ndash; Toolbox - Public folder Management Console, select the public folder that you would like to adjust the Send As Permissions on, you choose Manage Send As Permission and select a user to add. At this moment you have an error:</p>
<p><i>The directory operation failed on &quot;FolderName&quot;. This error is not retriable. </i></p>
<p><i>Additional Information: Access is denied. The directory response 00000005: SecErr: DSID-031521D0, problem 4003 </i></p>
<p><i>(INSUFF_ACCESS_RIGHTS), </i></p>
<p><i>&nbsp;</i></p>
<p><i>The user has insufficient access rights. </i></p>
<p><i>&nbsp;</i></p>
<p><i>Add-Adpermission &ndash;identity &ldquo;DN of the Public Folder AD Object&rdquo; &ndash;ExtendedRights &ldquo;Send-as&rdquo;</i></p>
<p>&nbsp;</p>
<p>If you look closely at Active Directory security settings on these public folders, you will notice that the owner is still the decommissioned Exchange 2003 server. In order to check this, go in ADSIEdit &ndash; Default Naming Context - DC=domain,DC=com,CN=Microsoft Exchange System Objects, right-click on the mail-enabled public folder, Properties &ndash; Security &ndash; Advanced &ndash; Owner tab.</p>
<p>This is a known issue for migrated mail-enabled public folders. The issue is fixed in Exchange 2013, and for Exchange 2010 the workaround is pretty simple: just mail-disable / mail-enable the public folder and the issue is gone.</p>
<p>For those who, for some reason, are not able to mail-disable their public folders, the second workaround is to manually change the owner of those PF in ADSIEdit (follow the same path as above) &ndash; you can simply replace it with Exchange Servers.&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>OAB Download and BITS Service</title>
      <link>https://docs.microsoft.com/archive/blogs/ehlro/oab-download-and-bits-service</link>
      <pubDate>Fri, 21 Mar 2014 07:36:00 GMT</pubDate>
      <dc:creator><![CDATA[Zebasus]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/ehlro/2014/03/21/oab-download-and-bits-service/</guid>
      <description><![CDATA[I&rsquo;ve recently stumbled upon a scenario related to downloading the offline address book which...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family:arial,helvetica,sans-serif;">I&rsquo;ve recently stumbled upon a scenario related to downloading the offline address book which might cause confusion and hopefully this blog article will shed some light as to what is happening.</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;">All users started to complain that they are unable to perform a download of the offline address book and they are hitting the following message in Outlook &ldquo;Unknown Error 0x80070422&rdquo;:</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/2703.0x80070422.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/2703.0x80070422.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/84/2703.0x80070422.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-84/2703.0x80070422.jpg" border="0" /></a><br /></span></p>
<p></p>
<p><span style="font-family:arial,helvetica,sans-serif;">Naturally we&rsquo;ve started the investigation by examining the OAB generation Server (that&rsquo;s what you should first do and check that is working properly) and couldn&rsquo;t find anything wrong or suspicious even after raising event logging for the MsExchangeSA/OALgenerator to expert.</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;">Afterwards we examined the Client Access Servers, specifically the OAB Folders</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;background-color:#ffff99;">&lt;C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\OAB&gt;</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;">And could see that they were up-to-date with the generation server, meaning that the &ldquo;file distribution service&rdquo; on the CAS were doing their job to copy the files from the mailbox server.</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;">&nbsp;</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;">Next we decided to decode the actual client error code 0x80070422 which translates to the following:</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;">&nbsp;&ldquo;The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.&rdquo;</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;">Following this we decided to check the services console on the outlook client machine and we could observe that the &ldquo;Background Intelligence Transfer Service&rdquo; was explicitly disabled via Group Policy.</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;">If the Outlook Client was running in online mode, an attempt to download the OAB would result in the following error message: &quot;An error occurred while opening the Microsoft Exchange Offline address book files on the Microsoft Exchange Server.&nbsp; See your administrator.&quot;</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;">&nbsp;</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;">Note: Even if the BITS Service is stopped, Outlook would start it on demand when attempting to download the address book. Should the service be explicitly disabled, it would no longer be able to start on demand and fail thus throwing the error message &ldquo;Unknown Error 0x80070422&rdquo;</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;">For more information see the following KB Articles:</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><a href="https://support.microsoft.com/kb/2429946">https://support.microsoft.com/kb/2429946</a> &nbsp;How to troubleshoot the Outlook Offline Address Book in an Office 365 environment</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><a href="https://technet.microsoft.com/en-us/library/bb232155(v=exchg.141).aspx">https://technet.microsoft.com/en-us/library/bb232155(v=exchg.141).aspx</a> &nbsp;Understanding Offline Address Books</span></p>]]></content:encoded>
    </item>
    <item>
      <title>More on RBAC and customizing new roles for specific needs</title>
      <link>https://docs.microsoft.com/archive/blogs/ehlro/more-on-rbac-and-customizing-new-roles-for-specific-needs</link>
      <pubDate>Thu, 20 Mar 2014 02:59:00 GMT</pubDate>
      <dc:creator><![CDATA[Gabriel-Vasile MUNTEAN]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/ehlro/2014/03/20/more-on-rbac-and-customizing-new-roles-for-specific-needs/</guid>
      <description><![CDATA[RBAC roles are used by the new version of Exchange and some customers highly use them for achieving...]]></description>
      <content:encoded><![CDATA[<p style="margin:0in 0in 0in 0.375in;font-family:Calibri;font-size:11pt;"><a href="https://technet.microsoft.com/en-us/library/dd298183(v=exchg.150).aspx"><span style="background:white;">RBAC roles</span></a><span style="background:white;color:black;"> are used by the new version of Exchange and some customers highly use them for achieving different tasks.</span></p>
<p style="margin:0in 0in 0in 0.375in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">However, when coming to the implementation or defining different management roles and entries, management groups, things are not every time that clear.</span></p>
<p style="margin:0in 0in 0in 0.375in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">By default, each user has the &ldquo;Default Role Assignment Policy&rdquo;, which grants the users permissions to set their Outlook Web App options and perform self-administrative tasks.</span></p>
<p style="margin:0in 0in 0in 0.375in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">The policy above includes the </span><span style="background:white;font-weight:bold;">MyDistributionGroups</span><span style="background:white;"> role assigned - this role enable individual users to create, modify and view distribution groups and modify, view, remove and add members to the distribution groups they own.</span></p>
<p style="margin:0in 0in 0in 0.375in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">Let&rsquo;s say we want individual users to be able to perform specific actions on distribution groups they own, even if the groups are hidden from the Global Address List. Therefore, we have to create a custom management role, based on the Distribution Groups management role, which enable administrators to create and manage groups and distribution group&rsquo;s members in the organization. Moreover, we have to compare the actions available to the MyDistributionGroups role, remove the extra permissions, and make an adjustment to make sure it will comply with our needs.</span></p>
<p style="margin:0in 0in 0in 0.375in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">To implement a solution based on an existing RBAC management role group, we can follow the steps below.</span></p>
<p style="margin:0in 0in 0in 0.375in;color:black;font-family:Calibri;font-size:11pt;">&nbsp;</p>
<p style="margin:0in;color:black;font-size:11pt;"><span style="background:white;font-family:Calibri;">1.</span><span style="background:white;font-family:&#39;Times New Roman&#39;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="background:white;font-family:Calibri;">First, we create a new custom management role, which basically is a collection of actions (commands) we can perform having the role assigned, based on built-in role </span><span style="background:white;font-family:Calibri;font-weight:bold;">Distribution Groups</span><span style="background:white;font-family:Calibri;"> using the following command:</span></p>
<p style="margin:0in 0in 0in 0.375in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;font-style:italic;font-weight:bold;">New-ManagementRole -Name &quot;Distribution Groups ManagedBy&quot; -Parent &quot;Distribution Groups&quot;</span></p>
<p style="margin:0in 0in 0in 0.375in;color:black;font-family:Calibri;font-size:11pt;">&nbsp;</p>
<p style="margin:0in;color:black;"><span style="background:white;font-family:Calibri;font-size:11pt;">2.</span><span style="background:white;font-family:&#39;Times New Roman&#39;;font-size:7pt;">&nbsp;&nbsp;&nbsp;</span><span style="background:white;font-family:&#39;Times New Roman&#39;;font-size:11pt;">&nbsp;&nbsp;&nbsp; </span><span style="background:white;font-family:Calibri;font-size:11pt;">We compare then the management role entries (cmdlets) provided by the new custom role and the </span><span style="background:white;font-family:Calibri;font-size:11pt;font-weight:bold;">MyDistributionGroups</span><span style="background:white;font-family:Calibri;font-size:11pt;"> default role. </span></p>
<p style="margin:0in 0in 0in 0.375in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">We need this information to remove cmdlets and cmdlet parameters we don&rsquo;t want to make available via the custom management role. </span></p>
<p style="margin:0in 0in 0in 0.375in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">First, we determine the cmdlets of the custom role using the command:</span></p>
<p style="margin:0in 0in 0in 0.375in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;"></span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;font-style:italic;font-weight:bold;">&nbsp;</span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;font-style:italic;font-weight:bold;">Get-ManagementRoleEntry &quot;Distribution Groups ManagedBy\*&quot; | Format-Table name </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Name </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">---- </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;font-weight:bold;">Add-DistributionGroupMember </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Disable-DistributionGroup </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Enable-DistributionGroup </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Get-ADServerSettings </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Get-AcceptedDomain </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;font-weight:bold;">Get-DistributionGroup </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;font-weight:bold;">Get-DistributionGroupMember </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Get-DomainController </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Get-DynamicDistributionGroup </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;font-weight:bold;">Get-Group </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Get-MailUser </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Get-Mailbox </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Get-OrganizationalUnit </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;font-weight:bold;">Get-Recipient </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Get-ResourceConfig </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Get-User </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;font-weight:bold;">New-DistributionGroup </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">New-DynamicDistributionGroup </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;font-weight:bold;">Remove-DistributionGroup </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;font-weight:bold;">Remove-DistributionGroupMember </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Remove-DynamicDistributionGroup </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Set-ADServerSettings </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;font-weight:bold;">Set-DistributionGroup </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;font-weight:bold;">Set-DynamicDistributionGroup </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;font-weight:bold;">Set-Group </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Set-OrganizationConfig </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;font-weight:bold;">Update-DistributionGroupMember </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;"><span style="background:white;font-size:10pt;font-style:italic;">Write-AdminAuditLog</span><span style="background:white;font-size:11pt;"> </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">&nbsp;</span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">Now run the following command to list the cmdlets for the MyDistributionGroups role:</span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;font-style:italic;font-weight:bold;">Get-ManagementRoleEntry &quot;MyDistributionGroups\*&quot; | Format-Table name</span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Name </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">---- </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Update-DistributionGroupMember </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Set-Group </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Set-DynamicDistributionGroup </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Set-DistributionGroup </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Remove-DistributionGroupMember </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Remove-DistributionGroup </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">New-DistributionGroup </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Get-Recipient </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Get-Group </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Get-DistributionGroupMember </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Get-DistributionGroup </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Add-DistributionGroupMember</span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">&nbsp;</span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">By comparing the two lists, we can determine the cmdlets that are not provided by the </span><span style="background:white;font-weight:bold;">MyDistributionGroups</span><span style="background:white;"> role. If we want a new RBAC group based on the default distribution group, we have to remove the additional role entries inherited from the </span><span style="background:white;font-style:italic;font-weight:bold;">Distribution Groups </span><span style="background:white;">parent entries.</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">&nbsp;</p>
<p style="margin:0in;color:black;font-size:11pt;"><span style="background:white;font-family:Calibri;">3.</span><span style="background:white;font-family:&#39;Times New Roman&#39;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="background:white;font-family:Calibri;">Using the </span><span style="background:white;font-family:Calibri;font-style:italic;">Remove-ManagementRoleEntry</span><span style="background:white;font-family:Calibri;"> command, we remove the cmdlets that are not required from the custom role. </span></p>
<p style="margin:0in 0in 0in 0.375in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">The example below removes the </span><span style="background:white;font-style:italic;">Disable-DistributionGroup</span><span style="background:white;"> cmdlet:</span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;font-style:italic;font-weight:bold;">[PS] C:\&gt;Remove-ManagementRoleEntry &quot;Distribution Groups ManagedBy\Disable-DistributionGroup&quot;</span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">Confirm </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Are you sure you want to perform this action? </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Removing the &quot;(Microsoft.Exchange.Management.PowerShell.E2010) Disable-DistributionGroup -Confirm -Debug </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">-DomainController -ErrorAction -ErrorVariable -Identity -IgnoreDefaultScope -OutBuffer -OutVariable -Verbose </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">-WarningAction -WarningVariable -WhatIf&quot; management role entry on the &quot;Distribution Groups ManagedBy&quot; management role. </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">[Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is &quot;Y&quot;): y </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">&nbsp;</span></p>
<p style="margin:0in 0in 0in 0.375in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">We repeat the command above until we to remove all the cmdlets we don&#39;t need. Additionally we also remove the </span><span style="background:white;font-style:italic;">New-DistributionGroup</span><span style="background:white;"> cmdlet, to remove the ability to create new distribution groups.</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">&nbsp;</p>
<p style="margin:0in;color:black;font-size:11pt;"><span style="background:white;font-family:Calibri;">4.</span><span style="background:white;font-family:&#39;Times New Roman&#39;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="background:white;font-family:Calibri;">We can also determine and remove cmdlet parameters not required on the remaining cmdlets. </span></p>
<p style="margin:0in 0in 0in 0.375in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">As before, we can compare the parameters of each cmdlet for </span><span style="background:white;font-weight:bold;">MyDistributionGroups</span><span style="background:white;"> with the ones not included in the cmdlets of the custom role. </span></p>
<p style="margin:0in 0in 0in 0.375in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">Use the following command to display the list of parameters for each cmdlet. In the example bellow, the parameter for the </span><span style="background:white;font-style:italic;">Add-DistributionGroupMember</span><span style="background:white;"> are listed:</span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;font-style:italic;font-weight:bold;">(Get-ManagementRoleEntry &quot;MyDistributionGroups\Add-DistributionGroupMember&quot;).parameters</span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Confirm </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">ErrorAction </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">ErrorVariable </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Identity </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Member </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">OutBuffer </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">OutVariable </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">WarningAction </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">WarningVariable </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">WhatIf </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">&nbsp;</span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">Repeat this for the same cmdlet from the custom created </span><span style="background:white;font-weight:bold;">Distribution Groups ManagedBy</span><span style="background:white;"> role: </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;font-style:italic;font-weight:bold;">[PS] C:\&gt;(Get-ManagementRoleEntry &quot;Distribution Groups ManagedBy\Add-DistributionGroupMember&quot;).parameters </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Confirm </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;font-weight:bold;">Debug </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;font-weight:bold;">DomainController </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">ErrorAction </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">ErrorVariable </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Identity </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Member </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">OutBuffer </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">OutVariable </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;font-weight:bold;">Verbose </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">WarningAction </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">WarningVariable </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">WhatIf</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">&nbsp;</p>
<p style="margin:0in;color:black;font-size:11pt;"><span style="background:white;font-family:Calibri;">5.</span><span style="background:white;font-family:&#39;Times New Roman&#39;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="background:white;font-family:Calibri;">Remove the parameters from the custom role entries. Once you have the list of the parameters to be removed, use the </span><span style="background:white;font-family:Calibri;font-style:italic;">Set-ManagementRoleEntry</span><span style="background:white;font-family:Calibri;"> command to remove them. In the example bellow, the </span><span style="background:white;font-family:Calibri;font-style:italic;">Debug, DomainController and Verbose</span><span style="background:white;font-family:Calibri;"> parameters are removed from the </span><span style="background:white;font-family:Calibri;font-style:italic;">Add-DistributionGroupMember</span><span style="background:white;font-family:Calibri;"> cmdlet:</span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;font-style:italic;font-weight:bold;">Set-ManagementRoleEntry &quot;Distribution Groups ManagedBy\Add-DistributionGroupMember&quot; -Parameters Debug, DomainController, Verbose &ndash;RemoveParameter</span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">Repeat these steps for all the cmdlets that have parameters that are not part of the entries used in default role.</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">&nbsp;</p>
<p style="margin:0in;color:black;font-size:11pt;"><span style="background:white;font-family:Calibri;">6.</span><span style="background:white;font-family:&#39;Times New Roman&#39;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="background:white;font-family:Calibri;">Once we have the desired cmdlets and parameters customized for our management role, we can assign it to an user or a role group. Rather than assigning a management role directly to a user, we can assign it to a role group, where we can add the user who need to perform specific actions.</span></p>
<p style="margin:0in 0in 0in 0.375in;font-family:Calibri;font-size:11pt;">&nbsp;</p>
<p style="margin:0in 0in 0in 0.375in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">The following command creates a new role group, called </span><span style="background:white;font-weight:bold;">ManageBy Group</span><span style="background:white;"> and assigns the custom management role we have created and customized:</span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;font-style:italic;font-weight:bold;">New-RoleGroup -Name &quot;ManagedBy Group&quot; -Roles &quot;Distribution Groups ManagedBy&quot;</span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">&nbsp;</span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">This command results in the creation of the role group, and also of a role assignment called </span><span style="background:white;font-weight:bold;">Distribution Groups ManagedBy-ManagedBy Group</span><span style="background:white;">. This assignment uses the implicit scope of the custom management role for the recipient write scope, which is inherited from the parent default scope. We can see the scope by using the following command:</span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;font-style:italic;font-weight:bold;">Get-ManagementRoleAssignment -Role &quot;Distribution Groups ManagedBy&quot; | Format-List Name, *RecipientWriteScope </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">Name : Distribution Groups ManagedBy-ManagedBy Group</span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">CustomRecipientWriteScope : </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:10pt;"><span style="background:white;font-style:italic;">RecipientWriteScope : Organization</span></p>
<p style="margin:0in 0in 0in 0.75in;font-family:Calibri;font-size:11pt;">&nbsp;</p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">Notice the </span><span style="background:white;font-style:italic;">RecipientWriteScope</span><span style="background:white;"> is set to </span><span style="background:white;font-style:italic;">Organization</span><span style="background:white;"> which is too broad for an assignment. The scope must be changed so that it allows a user to manage only the distribution groups they own. The following command sets the recipient relative write scope to </span><span style="background:white;font-style:italic;">MyDistributionGroups</span><span style="background:white;">. </span></p>
<p style="margin:0in 0in 0in 0.75in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;font-style:italic;font-weight:bold;">Set-ManagementRoleAssignment &quot;Distribution Groups ManagedBy-Distribution Group ManagedBy&quot; -RecipientRelativeWriteScope MyDistributionGroups</span></p>
<p style="margin:0in;font-size:11pt;"><span style="background:white;color:black;font-family:Calibri;">7.</span><span style="background:white;color:#1f497d;font-family:&#39;Times New Roman&#39;;">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="background:white;color:black;font-family:Calibri;"> We make a functionality test for the role assignment. Added an user to the role groups created in step 6 and opened the ECP. </span></p>
<p style="margin:0in 0in 0in 0.375in;color:black;font-family:Calibri;font-size:11pt;">The user has a broader read scope that allows him to see the hidden objects, when managing distribution groups owned.</p>
<p style="margin:0in 0in 0in 0.375in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">&nbsp;</span></p>
<p style="margin:0in 0in 0in 0.375in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">Following the steps above we can create different RBAC roles, groups and assignments to suits our Exchange organization goals.</span></p>
<p style="margin:0in 0in 0in 0.375in;color:black;font-family:Calibri;font-size:11pt;"><span style="background:white;">I hope you find the information useful,</span></p>
<p style="margin:0in;color:black;"><span style="font-family:&#39;Times New Roman&#39;;font-size:9pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-family:Calibri;font-size:11pt;font-weight:bold;">Gabriel MUNTEAN</span></p>]]></content:encoded>
    </item>
  </channel>
</rss>