<?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>Kaustubh at MSFT</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/kausd/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/kausd/feed.xml</link>
    <description>I work with the Security Team at Microsoft.</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:21:32 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Error message when you try to unprotect an IRM-protected workbook programmatically in Excel 2013: "Run-time error: 1004"</title>
      <link>https://docs.microsoft.com/archive/blogs/kausd/error-message-when-you-try-to-unprotect-an-irm-protected-workbook-programmatically-in-excel-2013-run-time-error-1004</link>
      <pubDate>Fri, 04 Dec 2015 04:01:17 GMT</pubDate>
      <dc:creator><![CDATA[Kaustubh Dwivedi]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/kausd/2015/12/04/error-message-when-you-try-to-unprotect-an-irm-protected-workbook-programmatically-in-excel-2013-run-time-error-1004/</guid>
      <description><![CDATA[&#160;  This post is an extension to a KB article mentioned below that was written for Excel 2003....]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>This post is an extension to a KB article mentioned below that was written for Excel 2003.</p>  <p><a title="https://support.microsoft.com/en-us/kb/914199" href="https://support.microsoft.com/en-us/kb/914199">https://support.microsoft.com/en-us/kb/914199</a>&#160;</p>  <p>But I encountered few issues where the requirement was to have the same behaviour confirmed for Excel 2013.</p>  <p>Hence created a scenario for the same using Unprotect and Protect Method. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/2783.image_497685E5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/2783.image_5F00_497685E5.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/2677.image_thumb_069A416B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/2677.image_5F00_thumb_5F00_069A416B.png" width="531" height="331" /></a></p>  <p>&#160;</p>  <p><strong>Hello Command Button</strong> </p>  <p>Would just pop a message saying Hello.</p>  <p>I placed it to show that a function like MsgBox has no issues executing with IRM protection applied to the workbook.</p>  <p><strong>Unprotect Command Button</strong></p>  <p>It calls the Unprotect Method to remove protection from the current sheet.</p>  <p><strong>Protect Method</strong></p>  <p>I am calling the Protect Method here the moment I click on any cell.</p>  <p><strong>Code :</strong> </p>  <p><em>Private Sub CommandButton1_Click()     <br />MsgBox &quot;Hello&quot;      <br />End Sub      <br />&#160; <br />Private Sub CommandButton2_Click()      <br />ActiveSheet.Unprotect Password:=&quot;hello&quot;      <br />End Sub</em></p>  <p><em>Private Sub Worksheet_SelectionChange(ByVal Target As Range)     <br />ActiveSheet.Protect Password:=&quot;hello&quot;</em></p>  <p><em>End Sub</em>    <br /></p>  <p><strong>Scenario 1 :</strong> </p>  <p>Workbook that I have <strong>not </strong>protected using Protect Method and applied IRM protection to it.</p>  <p>Saved it and then opened it with another user , who has almost all permissions just not full control that the owner of the document will have.</p>  <p><strong>Permissions the user holds.</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/0447.image_6A8C1330.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/0447.image_5F00_6A8C1330.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/2262.image_thumb_7A9AE1E7.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/2262.image_5F00_thumb_5F00_7A9AE1E7.png" width="225" height="244" /></a></p>  <p>Now when I select on any cell the Protect Method gets called and we receive the following error.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/3146.image_754BFB36.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/3146.image_5F00_754BFB36.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/5775.image_thumb_2575D6AB.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/5775.image_5F00_thumb_5F00_2575D6AB.png" width="383" height="232" /></a></p>  <p>&#160;</p>  <p><strong>Scenario 2 :</strong> </p>  <p>Workbook that I have protected using Protect Method and applied IRM protection to it.</p>  <p>Saved it and then opened it with another user , who has almost all permissions just not full control that the owner of the document will have.</p>  <p>Now when I click Unprotect Command Button , got the following error.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/4666.image_4E8075A7.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/4666.image_5F00_4E8075A7.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/2664.image_thumb_0967A871.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/2664.image_5F00_thumb_5F00_0967A871.png" width="320" height="185" /></a></p>  <p>&#160;</p>  <p>As already mentioned this is by design and mentioned in the following KB Article.</p>  <p><a title="https://support.microsoft.com/en-us/kb/914199" href="https://support.microsoft.com/en-us/kb/914199">https://support.microsoft.com/en-us/kb/914199</a>&#160;</p>  <p>But if the user has full control over the document , we will not encounter such a situation.</p>  <p><strong>Kaustubh Dwivedi </strong></p>  <p><strong></strong>    <br />Microsoft Security Support Escalation Engineer</p>]]></content:encoded>
    </item>
    <item>
      <title>Why am I able to capture the Screenshot of a Right Protected document when opening it through a browser ?</title>
      <link>https://docs.microsoft.com/archive/blogs/kausd/why-am-i-able-to-capture-the-screenshot-of-a-right-protected-document-when-opening-it-through-a-browser</link>
      <pubDate>Mon, 05 Oct 2015 16:39:55 GMT</pubDate>
      <dc:creator><![CDATA[Kaustubh Dwivedi]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/kausd/2015/10/05/why-am-i-able-to-capture-the-screenshot-of-a-right-protected-document-when-opening-it-through-a-browser/</guid>
      <description><![CDATA[&#160;  So it all started as a discussion with one of my colleague who had an issue, where we were...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>So it all started as a discussion with one of my colleague who had an issue, where we were able to take screenshot’s of Right Protected Word Document when opening it through Word Online. The rights are being applied by uploading the document to SharePoint online. To get an actual answer, we have to first understand in depth on how a Screen Capture does work. And how does Windows stop the Screen Capture when it does. Normally when opening it through a Thick office client.</p>  <p>I came across this wonderful explanation by Raymond Chen. Would advise you to go through it before continuing as this holds all the answer’s we need.</p>  <p><strong><a href="https://technet.microsoft.com/en-us/magazine/hh241037.aspx">Windows Confidential: What You See Is What You See</a></strong></p>  <p><a href="https://technet.microsoft.com/library/2009.02.windowsconfidential.aspx">Windows Confidential The Case of the Disappearing Cursor</a></p>  <p><b><i>The purpose of this feature is not to protect information from an attacker who can run code on the system. It's to defend against users who take a screen shot without realizing that the confidential budget data is visible in the background.</i></b></p>  <p><b><i>Reference: </i></b><a href="https://blogs.msdn.com/b/oldnewthing/archive/2013/06/03/10422964.aspx"><b><i>https://blogs.msdn.com/b/oldnewthing/archive/2013/06/03/10422964.aspx</i></b></a><b><i> </i></b></p>  <p>When using screen capture tools like Snipping Tool or PrintScn function, the pixel arrays for the protected content window are inaccessible so it is blacked out in the capture. The segment of the screen that has the Rights Protected Document opened on blacks out, as we can see in the figure below.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/0728.clip_image0016_0C2F067B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/0728.clip_5F00_image0016_5F00_0C2F067B.png"><img title="clip_image001[6]" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image001[6]" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/1460.clip_image0016_thumb_7BB6957F.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/1460.clip_5F00_image0016_5F00_thumb_5F00_7BB6957F.png" width="244" height="211" /></a></p>  <p>An advanced application like OneNote will automatically detect that a Right Protected Document is open and would let you know that. We will not go in how it does that.</p>  <p>So, to recap:</p>  <p>1. Client application opens IRM protected content.</p>  <p>2. Client application reads the ‘Do Not Print’ permission attached to the document(if any).</p>  <p>3. Client calls the Desktop Window Manager service (ensure that the service is running) to enforce this right.</p>  <p>4. The pixels of the window overlay are marked as protected/inaccessible to PrintScn function calls.</p>  <p>User could easily get around this by “<b>viewing the document via a Web site (for example, put it on your Exchange mailbox and use Outlook Web Access) and PrtSc the Web page. The Web browser certainly doesn’t know which pixels are IRM-protected or not”.</b></p>  <p>So far, I have not come across on how we can control this behaviour through a web browser. At the time of writing this post, the best way around this is to force the User to use the thick client, which is installed on your machine. </p>  <p><b>In case of SharePoint Online</b>, we can choose the right combination of Permission and force the user to open the document using the Office application that is installed on the machine. Here’s how we can implement this. </p>  <p>1) Create a new Group and under the section <b>“Give Group Permission to this Site”, </b>checked the option<b> “Read - Can view pages and list items and download documents”.</b></p>  <p><a href="https://support.office.com/en-us/article/Manage-permissions-for-a-list-library-folder-document-or-list-item-9d13e7df-a770-4646-91ab-e3c117fcef45">https://support.office.com/en-us/article/Manage-permissions-for-a-list-library-folder-document-or-list-item-9d13e7df-a770-4646-91ab-e3c117fcef45</a><b> </b></p>  <p>2) Add the member’s to this group according to my scenario, in general we would follow the company policy.</p>  <p>3) I am assuming we have the IRM already configured, if not please visit the following link.</p>  <p><a href="https://support.office.com/en-us/article/Set-up-Information-Rights-Management-IRM-in-SharePoint-admin-center-239ce6eb-4e81-42db-bf86-a01362fed65c">https://support.office.com/en-us/article/Set-up-Information-Rights-Management-IRM-in-SharePoint-admin-center-239ce6eb-4e81-42db-bf86-a01362fed65c</a></p>  <p>4) Now only pointing out the option which will force the Word Document to open using the Desktop Client.</p>  <p>Check the option “<b>Prevent opening documents in the browser for this Document Library</b>”</p>  <p>After steps 1-4, I was able to get the Document open through Word 2013(in my case) and verified that I was not able to take a Screen Capture.</p>  <p>Hope this post has been informative and helps address Print scenarios while dealing with confidential data<b> </b></p>  <p><b>Note: This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.</b></p>]]></content:encoded>
    </item>
    <item>
      <title>TMG 2010 Troubleshooting : Internal Error 2771</title>
      <link>https://docs.microsoft.com/archive/blogs/kausd/tmg-2010-troubleshooting-internal-error-2771</link>
      <pubDate>Sun, 06 Sep 2015 08:50:10 GMT</pubDate>
      <dc:creator><![CDATA[Kaustubh Dwivedi]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/kausd/2015/09/06/tmg-2010-troubleshooting-internal-error-2771/</guid>
      <description><![CDATA[&#160;  Just came across an issue with TMG 2010. We were trying to install SP2 RU5 and it was...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>Just came across an issue with TMG 2010. We were trying to install SP2 RU5 and it was failing with the error: </p>  <p><font style="background-color: #ffff00"><strong>Internal error 2771</strong></font></p>  <p>We were currently running SP2 RU4.</p>  <p>So we did make sure we had all the TMG 2010 Services running and had a look at the event viewer for pointers. But with no luck we had to move to the plan of collecting a verbose installation log.</p>  <p>Remember that to generate verbose logs, pass &quot;/L*v &lt;file name&gt;&quot; (without quotes) to the command line for <em>msiexec.exe</em>. If using Windows Installer 3.0 or newer, you can also pass &quot;x&quot; along with &quot;*v&quot; to the logging switch for additional debug information. </p>  <p>And before we jump into what we did to resolve it please read the article by Heath Stewart.</p>  <p><a href="https://blogs.msdn.com/b/heaths/archive/2006/11/30/rebuilding-the-installer-cache.aspx">https://blogs.msdn.com/b/heaths/archive/2006/11/30/rebuilding-the-installer-cache.aspx</a></p>  <p>Snippet from the complete log that would give us an idea on how to tackle such an issue.</p>  <p>Log Snippet: Start </p>  <p><i><font style="background-color: #ffff00">MSI (c) (F0:78) [16:02:58:640]: Opening existing patch 'C:\Windows\Installer\2cbf5a.msp'.</font></i><i></i></p>  <p><i>MSI (c) (F0:78) [16:02:58:640]: Note: 1: 2203 2: C:\Windows\Installer\2cbf5a.msp 3: -2147287038 </i></p>  <p><i>MSI (c) (F0:78) [16:02:58:640]: Couldn't find local patch 'C:\Windows\Installer\2cbf5a.msp'. Looking for it at its source.</i></p>  <p><i>MSI (c) (F0:78) [16:02:58:640]: Resolving Patch source.</i></p>  <p><i>MSI (c) (F0:78) [16:02:58:640]: User policy value 'SearchOrder' is 'nmu'</i></p>  <p><i>MSI (c) (F0:78) [16:02:58:640]: SOURCEMGMT: Media enabled only if package is safe.</i></p>  <p><i>MSI (c) (F0:78) [16:02:58:640]: SOURCEMGMT: Looking for sourcelist for product {5E52CFA5-2A84-4E59-8F63-EA43511E518A}</i></p>  <p><i>MSI (c) (F0:78) [16:02:58:640]: SOURCEMGMT: Adding {5E52CFA5-2A84-4E59-8F63-EA43511E518A}; to potential sourcelist list (pcode;disk;relpath).</i></p>  <p><i>MSI (c) (F0:78) [16:02:58:640]: SOURCEMGMT: Now checking product {5E52CFA5-2A84-4E59-8F63-EA43511E518A}</i></p>  <p><i>MSI (c) (F0:78) [16:02:58:640]: SOURCEMGMT: Media is enabled for product.</i></p>  <p><i>MSI (c) (F0:78) [16:02:58:640]: SOURCEMGMT: Attempting to use LastUsedSource from source list.</i></p>  <p><i>MSI (c) (F0:78) [16:02:58:640]: SOURCEMGMT: Trying source C:\Users\CASETH~1\AppData\Local\Temp\.</i></p>  <p><i><font style="background-color: #ffff00">MSI (c) (F0:78) [16:02:58:641]: Note: 1: 2203 2: C:\Users\CASETH~1\AppData\Local\Temp\TMG-KB2288910-amd64-ENU.msp 3: -2147287038</font> </i></p>  <p><i><font style="background-color: #ffff00">MSI (c) (F0:78) [16:02:58:641]: SOURCEMGMT: Source is invalid due to missing/inaccessible package.</font></i><i></i></p>  <p><i><font style="background-color: #ffff00">MSI (c) (F0:78) [16:02:58:641]: Note: 1: 1706 2: -2147483647 3: TMG-KB2288910-amd64-ENU.msp</font></i><i> </i></p>  <p><i>MSI (c) (F0:78) [16:02:58:641]: SOURCEMGMT: Processing net source list.</i></p>  <p><em>End</em></p>  <p>The lines that are highlighted in yellow tells that the installer is not able to find <font style="background-color: #ffff00">2cbf5a.msp</font>.Which resolves to TMG-KB2288910, which is SP1 Software Update 1. </p>  <p>How did I know that? please read the article that I have pasted initially. So we created a MSP of the TMG-KB2288910 which was in .exe format.</p>  <p>Command used here:</p>  <p><b><i>TMG-KB2288910 -amd64-ENU.exe /t c:temp /c</i></b></p>  <p>It might take a few seconds before the MSP file shows up, so be patient. Copied the MSP file and renamed it as<b> </b>2cbf5a and pasted it under the location </p>  <p><strong>C:\Windows\Installer.</strong> Tried installing the SP2 RU5 again with verbose logging and it failed. Looking at the logs we observed it was then missing an </p>  <p>existing patch that installer was looking for. Followed the above method over and over again till we got the TMG SP2 RU5 to start the installation without the error.</p>  <p>Basically we had to build up the cache for the Windows Installer from SP2 RU4 back to SP1.</p>  <p>Hope this helps resolving similar other issue’s and point to remember here is, this does not specifically apply to TMG 2010. </p>]]></content:encoded>
    </item>
    <item>
      <title>Troubleshooting FIM 2010 R2: Exception “AttributeNotPresentException”</title>
      <link>https://docs.microsoft.com/archive/blogs/kausd/troubleshooting-fim-2010-r2-exception-attributenotpresentexception</link>
      <pubDate>Sun, 06 Sep 2015 08:36:36 GMT</pubDate>
      <dc:creator><![CDATA[Kaustubh Dwivedi]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/kausd/2015/09/06/troubleshooting-fim-2010-r2-exception-attributenotpresentexception/</guid>
      <description><![CDATA[&#160;  Problem Statement:  When running a Sync on a Source MA we are getting the following error in...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p><strong><font size="3">Problem Statement:</font></strong></p>  <p><font size="2">When running a Sync on a Source MA we are getting the following error in the Stack Trace.</font></p>  <p><font size="2">Microsoft.MetadirectoryServices.AttributeNotPresentException: Attribute &lt;<font style="background-color: #ffff00">attribute name</font>&gt; is not present.at Microsoft.MetadirectoryServices.Impl.AttributeImpl.get_StringValue() at Mms_ManagementAgent_&lt;<font style="background-color: #ffff00">Source MA</font>&gt;Extension.MAExtensionObject.MapAttributesForExport(String FlowRuleName, MVEntry mventry, CSEntry csentry)</font></p>  <p><font size="2">For sake of keeping things simpler I am going to use the attribute name as “mail” and the Source MA as </font><font size="2">“ADMA”.</font></p>  <p><font size="3"><strong>Cause:</strong></font></p>  <p><font size="2">The provisioning code that we are implementing is using an attribute that we are not flowing from the </font><font size="2">Source Management Agent to the </font><font size="2">Metaverse.</font></p>  <p><font size="3"><strong>Resolution:</strong></font></p>  <p><font size="2">If we read the exception carefully it tells us the that, I am provisioning certain attributes to the destination connector space, but the attribute “mail” which is being provisioned to destination connector space as “email” (example) is not being provided by the Source Management Agent(ADMA). </font></p>  <p><font size="2">Steps to resolve this:</font></p>  <p><font size="2">1) Make sure we have an import flow to the metaverse for mail.</font></p>  <p><font size="2">2) Remove the attribute from the code, if it is not going to add any value and recompile the MVextension.dll.</font></p>  <p><font size="2">Code Example:</font></p>  <p><font size="2">csentry(&quot;email&quot;).StringValue = mventry(&quot;mail&quot;).StringValue //mail is not being flowed from the Source </font><font size="2">Management Agent.</font></p>]]></content:encoded>
    </item>
    <item>
      <title>Error while generating any kind of report on Threat Management Gateway 2010</title>
      <link>https://docs.microsoft.com/archive/blogs/kausd/error-while-generating-any-kind-of-report-on-threat-management-gateway-2010</link>
      <pubDate>Tue, 21 Oct 2014 04:20:33 GMT</pubDate>
      <dc:creator><![CDATA[Kaustubh Dwivedi]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/kausd/2014/10/21/error-while-generating-any-kind-of-report-on-threat-management-gateway-2010/</guid>
      <description><![CDATA[&#160;  While working on a TMG 2010 issue, we were getting an error when generating any kind of...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>While working on a TMG 2010 issue, we were getting an error when generating any kind of report. The error is mentioned below.</p>  <p>================================================================================</p>  <p>System.Web.Services.Protocols.SoapException: The item '/ISA2008 </p>  <p>Reports/Summary_ServerParticipation' cannot be found. ---&gt; </p>  <p>Microsoft.ReportingServices.Diagnostics.Utilities.ItemNotFoundException: The </p>  <p>item '/ISA2008 Reports/Summary_ServerParticipation' cannot be found.</p>  <p>at </p>  <p>Microsoft.ReportingServices.WebServer.ReportExecution2005Impl.LoadReport(String </p>  <p>Report, String HistoryID, ExecutionInfo2&amp; executionInfo)</p>  <p>at </p>  <p>Microsoft.ReportingServices.WebServer.ReportExecutionService.LoadReport(String </p>  <p>Report, String HistoryID, ExecutionInfo&amp; executionInfo).</p>  <p>The error occurred on object 'Reports' of class 'Reports Configuration' in the </p>  <p>scope of array &lt;Servername&gt;</p>  <p>=================================================================================</p>  <p>It is always a good idea to actually look if actually the Report “<b>Summary_ServerParticipation</b>” existed in the SQL or not.</p>  <p>So we opened the Reporting Services Configuration Manager on the TMG 2010 Server.</p>  <p>Clicked the Highlighted link below.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/3652.clip_image002_232EDBEA.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/3652.clip_5F00_image002_5F00_232EDBEA.jpg"><img title="clip_image002" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/1348.clip_image002_thumb_628F202B.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/1348.clip_5F00_image002_5F00_thumb_5F00_628F202B.jpg" width="417" height="204" /></a></p>  <p>This opened an IE window and we could not find any report in the location mentioned.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/1374.clip_image004_0D6A14EF.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/1374.clip_5F00_image004_5F00_0D6A14EF.jpg"><img title="clip_image004" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image004" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/5037.clip_image004_thumb_51AD0CEC.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/5037.clip_5F00_image004_5F00_thumb_5F00_51AD0CEC.jpg" width="314" height="71" /></a></p>  <p>Compared this to a healthy TMG 2010 Server and I could see a bunch of reports present. Highlighted is the report that we are actually getting an error:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/0640.clip_image005_1A6685B1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/0640.clip_5F00_image005_5F00_1A6685B1.png"><img title="clip_image005" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image005" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/2260.clip_image005_thumb_5B971FB9.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/2260.clip_5F00_image005_5F00_thumb_5F00_5B971FB9.png" width="418" height="244" /></a></p>  <p>So, our Task now was to do a restore of the Database from a healthy TMG 2010 server that is holding the above populated report to the TMG 2010 server, we are facing issue with.</p>  <p>Details of the TMG servers.</p>  <p>TMG2 – TMG 2010 Server with the issue.</p>  <p>TMG1 – Healthy TMG 2010 Server.</p>  <p>Take a backup before we proceed.</p>  <p>Based on the complexity of the implementation of the action plan, we will be accomplishing this task in Phases:</p>  <p><b><u>Phase 1: Taking Backup of the Database from TMG 2:</u></b></p>  <p>How to: Back Up a Database (SQL Server Management Studio)</p>  <p><a href="https://technet.microsoft.com/en-us/library/ms187510(v=sql.105).aspx">https://technet.microsoft.com/en-us/library/ms187510(v=sql.105).aspx</a></p>  <p>Database’s that we need to take a backup for:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/2548.clip_image006_1D33ECB7.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/2548.clip_5F00_image006_5F00_1D33ECB7.png"><img title="clip_image006" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image006" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/2402.clip_image006_thumb_136E853F.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/2402.clip_5F00_image006_5F00_thumb_5F00_136E853F.png" width="290" height="227" /></a></p>  <p>&#160;</p>  <p><b><u>Phase 2: Backing Up the Encryption Key from Reporting Services Configuration Manager:</u></b></p>  <p><b></b></p>  <p>Backing up the Encryption Key.</p>  <p>Back up encryption keys -Reporting Services Configuration Manager (Native Mode)</p>  <p><a href="https://msdn.microsoft.com/en-us/library/ms157275.aspx">https://msdn.microsoft.com/en-us/library/ms157275.aspx</a></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/4024.clip_image008_24E176C8.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/4024.clip_5F00_image008_5F00_24E176C8.jpg"><img title="clip_image008" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image008" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/2742.clip_image008_thumb_1D58980C.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/2742.clip_5F00_image008_5F00_thumb_5F00_1D58980C.jpg" width="483" height="239" /></a></p>  <p>Now as we are done backing up the database’s from TMG2, we need to perform the same steps for exporting the database from the working TMG1 Server.</p>  <p>At the end we will have 3 files that we need:</p>  <p>EK- Encryption Key </p>  <p>ReportsServer$ISARS – Report Server Database.</p>  <p>ReportsServer$ISARSTempDB – Report Server Temporary Database.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/3833.clip_image009_240E3240.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/3833.clip_5F00_image009_5F00_240E3240.png"><img title="clip_image009" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image009" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/6835.clip_image009_thumb_57D62891.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/6835.clip_5F00_image009_5F00_thumb_5F00_57D62891.png" width="463" height="54" /></a></p>  <p>&#160;</p>  <p><b><u>Phase 3: Deleting the Database from the TMG 2 and Importing a healthy Database from TMG 1:</u></b></p>  <p>On TMG 2 we need to delete only <b>ReportsServer$ISARS</b> from the SQL Management Studio.</p>  <p>Now why we delete this database only is because firstly this is the database where our report <b>Summary_ServerParticipation </b>is under. And we want to replace our Database <b>ReportsServer$ISARS </b>with a healthy one<b>.</b></p>  <p>How to: Restore a Backup from a Device (SQL Server Management Studio) </p>  <p><a href="https://technet.microsoft.com/en-us/library/ms188312(v=sql.105).aspx">https://technet.microsoft.com/en-us/library/ms188312(v=sql.105).aspx</a><b> </b></p>  <p>We need to only import<b> ReportsServer$ISARS </b>as that’s what we are recovering.</p>  <p><b></b></p>  <p><b></b></p>  <p><b></b></p>  <p><b></b></p>  <p><b><u>Phase 4: Importing the Encryption Key onto the TMG 2 server that we exported from the TMG 1 Server:</u></b></p>  <p><b></b></p>  <p>Restore encryption keys -Reporting Services Configuration Manager (Native Mode)</p>  <p><a href="https://msdn.microsoft.com/en-us/library/ms157275.aspx">https://msdn.microsoft.com/en-us/library/ms157275.aspx</a> .</p>  <p>It will take a little bit to complete this process , do watch out for the message in the Results Section.</p>  <p>&#160;</p>  <p><b><u>Phase 5: Delete the TMG 1(Working Server) instance from the Scale-out Deployment.</u></b></p>  <p><b></b></p>  <p>Delete the Working Server Instance(TMG1) and after deleting we should see only one server which is TMG2.</p>  <p>How to Delete TMG1 Instance: </p>  <p>On the ReportsServer$ISARS Datbase execute the below mentioned query.</p>  <p><b>delete from keys where machinename=’TMG1’.</b></p>  <p><b></b></p>  <p><b>To confirm the Exact Machine Name:</b></p>  <p><b></b></p>  <p>On the table dbo.keys under ReportsServer$ISARS Database execute the below mentioned query.</p>  <p><b>Select [MachineName] from [ReportServer$ISARS].[dbo].[Keys]</b></p>  <p>After deleting the Instance TMG1, visit the Scale-out Deployment Status.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/2063.clip_image011_10EF9645.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/2063.clip_5F00_image011_5F00_10EF9645.jpg"><img title="clip_image011" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image011" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/5165.clip_image011_thumb_3BCA8B08.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/5165.clip_5F00_image011_5F00_thumb_5F00_3BCA8B08.jpg" width="452" height="106" /></a></p>  <p>We would see only TMG2 Server listed there. </p>  <p>This completes the process and now to confirm if we can see the Reports on TMG2. Follow the same procedure mentioned in the starting of the article. </p>  <p>Or you can directly generate a report and see if we are still getting the error. If followed in the exact way we should see the issue getting rectified.</p>  <p>I hope this article will come handy in solving these kind of Reporting issues while working on Forefront Threat Management Gateway.</p>  <p><b></b></p>  <p><strong>Author:</strong></p>  <p><strong>Kaustubh Dwivedi </strong>    <br />Microsoft Security Support Engineer</p>  <p><strong>Reviewer:</strong></p>  <p><strong>NITIN SINGH </strong>    <br />Microsoft Security Support Escalation Engineer</p>]]></content:encoded>
    </item>
    <item>
      <title>Azure Rights Management - No Subscriptions Found when we click on the Advanced Feature button on the Rights Management Page</title>
      <link>https://docs.microsoft.com/archive/blogs/kausd/azure-rights-management-no-subscriptions-found-when-we-click-on-the-advanced-feature-button-on-the-rights-management-page</link>
      <pubDate>Mon, 20 Oct 2014 09:45:02 GMT</pubDate>
      <dc:creator><![CDATA[Kaustubh Dwivedi]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/kausd/2014/10/20/azure-rights-management-no-subscriptions-found-when-we-click-on-the-advanced-feature-button-on-the-rights-management-page/</guid>
      <description><![CDATA[&#160;  So it was about time that someone wrote an article about Advanced Feature option on the...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>So it was about time that someone wrote an article about Advanced Feature option on the Rights Management Page.</p>  <p>But first of all what is Azure Rights Management?</p>  <p>Almost every organization is Internet-connected these days, with users bringing personal device to work, accessing company data on the road and home, and sharing sensitive information with important business partners. As part of their daily work, users share information by using email, file-sharing sites, and cloud services. In these scenarios, traditional security controls (such as access control lists and NTFS permissions) and firewalls have limited effectiveness if you want to protect your company data while still empowering your users to work efficiently.</p>  <p><a href="https://technet.microsoft.com/en-in/library/jj585026.aspx">https://technet.microsoft.com/en-in/library/jj585026.aspx</a></p>  <p>How do we enable it on the Office 365 Portal?</p>  <p><a href="https://technet.microsoft.com/en-us/library/jj658941.aspx">https://technet.microsoft.com/en-us/library/jj658941.aspx</a></p>  <p>Going a little deep and you can create and manage custom templates in the Azure Management Portal. You can do this directly from the Azure Management portal, or you can sign in to the Office 365 admin center, and choose the <b>advanced features</b> for Rights Management, which then redirects you to the Azure Management portal.</p>  <p>More about the Advance Feature for Rights Management: <a href="https://technet.microsoft.com/en-in/library/dn642472.aspx">https://technet.microsoft.com/en-in/library/dn642472.aspx</a></p>  <p>But I am not here to talk about the advanced feature here. But more of when we decide that we want to go ahead and try this out and we end up with an error.</p>  <p><b>No Subscriptions Found when we click on the Advanced Feature button on the Rights Management Page</b></p>  <p>When we click on the advanced features button on the rights management page (Figure 1) we get a message like the one in Figure 2.</p>  <p>Figure 1</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/0363.clip_image002_321B2F57.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/0363.clip_5F00_image002_5F00_321B2F57.jpg"><img title="clip_image002" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/6170.clip_image002_thumb_2855C7DF.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/6170.clip_5F00_image002_5F00_thumb_5F00_2855C7DF.jpg" width="244" height="239" /></a></p>  <p>Figure 2.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/8371.clip_image0024_57A73D69.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/8371.clip_5F00_image0024_5F00_57A73D69.jpg"><img title="clip_image002[4]" border="0" alt="clip_image002[4]" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/5187.clip_image0024_thumb_2BF9041E.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/5187.clip_5F00_image0024_5F00_thumb_5F00_2BF9041E.jpg" width="244" height="129" /></a></p>  <p>So what happened here?</p>  <p>I am logged onto the office365 with <a href="mailto:kaustubh@kausd.onmicrosoft.com">kaustubh@kausd.onmicrosoft.com</a> . So the tenant here is kausd.onmicrosoft.com.</p>  <p>Office 365 account: <a href="mailto:kaustubh@kausd.onmicrosoft.com">kaustubh@kausd.onmicrosoft.com</a></p>  <p>What is a Tenant?</p>  <p>We as cloud users would often hear the term “tenant” a lot. As per oxford tenant would mean: a person who occupies land or property rented from a landlord.</p>  <p>Same way in office 365 it means your own space and in general it is denoted by .onmicrosoft.com.</p>  <p>So if one company has an office 365 name space <a href="mailto:abc@domain.onmicrosoft.com">abc@domain.onmicrosoft.com</a> then no other company can use the same name space.</p>  <p>Now when I click on the advanced features button it takes us to<a href="https://account.activedirectory.windowsazure.com/">https://account.activedirectory.windowsazure.com/</a>.</p>  <p>This page would land us on Azure Management portal once it verifies that we have a subscription associated with my account with which I am logged in on office 365.</p>  <p>For example, Azure Space will look if my account Kaustubh.kausd.onmicrosoft.com has a subscriptions associated with it, if found it will check if my account is a Service administrator or a co-administrator.</p>  <p>In case it does not find that my account satisfies any of the conditions mentioned above it will throw a message like the one in Figure 2.</p>  <p>What is Microsoft Azure?</p>  <p>What is Azure? In short, it’s Microsoft’s cloud platform: a growing collection of integrated services—compute, storage, data, networking, and app—that help you move faster, do more, and save money. But that’s just scratching the surface.</p>  <p><a href="https://azure.microsoft.com/en-us/overview/what-is-azure/">https://azure.microsoft.com/en-us/overview/what-is-azure/</a></p>  <p>In case if any one of them is not true we will get message we saw in figure 2.</p>  <p><b>Now let’s look at how to resolve this kind of issue.</b></p>  <p><b></b></p>  <p><b>Scenario 1:</b></p>  <p><b></b></p>  <p>Some of the users are confused if they have or don’t have an Azure Account.</p>  <p>So let’s check that by visiting <a href="https://manage.windowsazure.com/">https://manage.windowsazure.com</a> and see if we can login here or not.</p>  <p>Login with the same account the account as of office365. At this point you will be logged of from Office365 if the login to the Azure Portal Succeeds.</p>  <p>Under setting section look if he we have the subscription associated with the Directory that you intend to use (Figure 3). In my case it would be kausd.onmicrosoft.com.</p>  <p>Now in starting I could never logon to the Azure portal with the <a href="mailto:Kaustubh@kausd.onmicrosoft.com">Kaustubh@kausd.onmicrosoft.com</a> because of the reason that kausd.onmicrosoft.com was not associated with any subscription.</p>  <p>I have multiple directories (Figure 3) and the default directory was the one that had the subscription associated with it. So I had to first login to the portal as a global administrator (Figure 4) where the account used is <a href="mailto:kausd@outlook.com">kausd@outlook.com</a>.</p>  <p>Figure 3</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/7181.image_24591D7C.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/7181.image_5F00_24591D7C.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/6153.image_thumb_53AA9306.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/6153.image_5F00_thumb_5F00_53AA9306.png" width="625" height="66" /></a></p>  <p>Figure 4</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/7180.image_4C8DE73F.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/7180.image_5F00_4C8DE73F.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/5775.image_thumb_4DF20A11.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/5775.image_5F00_thumb_5F00_4DF20A11.png" width="677" height="161" /></a></p>  <p><a href="mailto:kausd@outlook.com">kausd@outlook.com</a> was the account through which I first signed up for my Azure Account.</p>  <p>Under setting section and click edit directory (Figure 5) and (Figure 6).</p>  <p>Figure 5</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/4263.image_26BA518D.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/4263.image_5F00_26BA518D.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/4048.image_thumb_03F919D0.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/4048.image_5F00_thumb_5F00_03F919D0.png" width="505" height="115" /></a></p>  <p>Figure 6</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/1817.image_1CEF2899.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/1817.image_5F00_1CEF2899.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/8206.image_thumb_7EA471A2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/8206.image_5F00_thumb_5F00_7EA471A2.png" width="517" height="44" /></a></p>  <p><u>NOTE:</u> For this change you have to be a Global Administrator.&#160; Once you associate the directory you need to make <a href="mailto:Kaustubh@kausd.onmicrosoft.com">Kaustubh@kausd.onmicrosoft.com</a> either a service administrator or a co-administrator.</p>  <p>For this we need to go to the Active Directory section select the Directory you (<a href="mailto:kaustubh@kausd.onmicrosoft.com">kaustubh@kausd.onmicrosoft.com</a>) belong to.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/2451.clip_image012_1C361CC2.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/2451.clip_5F00_image012_5F00_1C361CC2.jpg"><img title="clip_image012" border="0" alt="clip_image012" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/1830.clip_image012_thumb_54E35780.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/1830.clip_5F00_image012_5F00_thumb_5F00_54E35780.jpg" width="279" height="200" /></a></p>  <p>Under users tab look for the account and once you expand that you would see a section where a role can be assigned (Figure 7). Again I have to be a global administrator for this.</p>  <p>Figure 7 </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/7367.image_038F778C.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/7367.image_5F00_038F778C.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/3021.image_thumb_37576DDD.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/3021.image_5F00_thumb_5F00_37576DDD.png" width="436" height="96" /></a></p>  <p>Here I have made <a href="mailto:Kaustubh@kausd.onmicrosoft.com">Kaustubh@kausd.onmicrosoft.com</a> as the service administrator.</p>  <p>Once done with these steps we should be done.</p>  <p><b>Scenario 2:</b></p>  <p>In case we don’t have an Azure Subscription then we can always sign up for a trial.</p>  <p>We need to click on sign up for Windows Azure and then we can proceed with procedure in Scenario 1.</p>  <p>I hope you find the above given information helpful and useful. Welcome to the Microsoft Rights Management world.</p>  <p><strong>Author:</strong></p>  <p><strong>Kaustubh Dwivedi </strong>    <br />Microsoft Security Support Engineer</p>  <p><strong>Reviewer:</strong></p>  <p><strong>NITIN SINGH </strong>    <br />Microsoft Security Support Escalation Engineer</p>]]></content:encoded>
    </item>
    <item>
      <title>Setting up Microsoft Azure Rights Management with Office 365 Message Encryption</title>
      <link>https://docs.microsoft.com/archive/blogs/kausd/setting-up-microsoft-azure-rights-management-with-office-365-message-encryption</link>
      <pubDate>Mon, 20 Oct 2014 09:31:54 GMT</pubDate>
      <dc:creator><![CDATA[Kaustubh Dwivedi]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/kausd/2014/10/20/setting-up-microsoft-azure-rights-management-with-office-365-message-encryption/</guid>
      <description><![CDATA[&#160;  Today I am going to talk about a new feature which Office 365 team has introduced and that...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>Today I am going to talk about a new feature which Office 365 team has introduced and that is “Office 365 Message Encryption”.</p>  <p><a href="https://technet.microsoft.com/en-us/library/dn569286.aspx">https://technet.microsoft.com/en-us/library/dn569286.aspx</a></p>  <p>Office 365 Message Encryption depends on Microsoft Azure Rights Management (previously known as Windows Azure Active Directory Rights Management). To use this encryption service, you must have an Office 365 organization that includes an Exchange Online or Exchange Online Protection subscription that, which in turn, includes an Azure Rights Management subscription.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/0410.clip_image001_63DBE203.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/0410.clip_5F00_image001_5F00_63DBE203.png"><img title="clip_image001" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image001" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/2402.clip_image001_thumb_6F07FCFE.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/2402.clip_5F00_image001_5F00_thumb_5F00_6F07FCFE.png" width="244" height="22" /></a></p>  <p><a href="https://office.microsoft.com/en-us/business/office-365-enterprise-e3-business-software-FX103030346.aspx">https://office.microsoft.com/en-us/business/office-365-enterprise-e3-business-software-FX103030346.aspx</a></p>  <p><b>Office 365 Enterprise E3 includes:</b></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/5670.clip_image002_1E597289.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/5670.clip_5F00_image002_5F00_1E597289.png"><img title="clip_image002" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/8168.clip_image002_thumb_173CC6C2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/8168.clip_5F00_image002_5F00_thumb_5F00_173CC6C2.png" width="586" height="50" /></a></p>  <p>So when creating a transport rule for message encryption, we may receive the following error.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/8524.clip_image004_747B8F04.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/8524.clip_5F00_image004_5F00_747B8F04.jpg"><img title="clip_image004" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image004" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/84/metablogapi/3264.clip_image004_thumb_2AEC4107.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-84-metablogapi/3264.clip_5F00_image004_5F00_thumb_5F00_2AEC4107.jpg" width="370" height="66" /></a></p>  <p>You can't create a rule containing the ApplyOME or RemoveOME action because IRM licensing is disabled </p>  <p>After doing some research found out that this was because for IRM the internal licensing was not enabled.</p>  <p>Please refer to the below given TechNet article that would help us understand and enable the internal licensing for the IRM.</p>  <p>Note: Follow all the six steps in the article mentioned below.</p>  <p><a href="https://technet.microsoft.com/en-us/library/dn569291.aspx">https://technet.microsoft.com/en-us/library/dn569291.aspx</a></p>  <p>Also on how to connect to Exchange Online, we can use any PowerShell tool from any machine and connect as mentioned in the article below.</p>  <p><a href="https://technet.microsoft.com/en-us/library/jj984289(v=exchg.150).aspx">https://technet.microsoft.com/en-us/library/jj984289(v=exchg.150).aspx</a></p>  <p><strong>Author:</strong></p>  <p><strong>Kaustubh Dwivedi </strong>    <br />Microsoft Security Support Engineer</p>  <p><strong>Reviewer:</strong></p>  <p><strong>NITIN SINGH </strong>    <br />Microsoft Security Support Escalation Engineer</p>]]></content:encoded>
    </item>
  </channel>
</rss>