• Home
  • BLOGS

Menu
  • Home
  • BLOGS
11 February 2020

Azure Information Protection – We were not able to find the Information Rights Management template.

Written by Ryan Wilson

Users were getting the following error message on the citrix environment however they were not getting the errors on the local machine when applying a sensitivity label within word. The fix should also apply if the error is happening on the local machine

First check AIP is not getting blocked by running the following script in powershell:

$request = [System.Net.HttpWebRequest]::Create("https://admin.na.aadrm.com/admin/admin.svc")     
$request.GetResponse()
$request.ServicePoint.Certificate.Issuer

The script should response with the certificate issuer if the machine can communicate with AIP

If the above fails then communication is blocked and needs resolving. Should the devices respond but is still failing to apply a label then action the below

Resolution:

Close all office applications

Delete RMS registry settings for the user 

Open regedit

Navigate to HKCU\Software\Microsoft\Office\XXX\Common\DRM
Delete the DefaultServer and DefaultServerURL values

Navigate to HKCU\Software\Classes\Local Settings\Software\Microsoft\MSIPC

Delete the server name key that corresponds to the RMS server

Ensure both the registry path under MSIPC and the key values within DRM have been removed

Next is to remove the existing licences, GICs etc..

Browse to the users %localappdata%\Microsoft\MSIPC folder and delete the folder

Contents within the folder for reference

Once the folder has been removed, re-open word and try again

This process can be created into a script for automation, please use the below as an example:

REM ***Delete the RMS registry settings for the user. 

reg delete HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\DRMC /v "DefaultServer" /f
reg delete HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\DRMC /v "DefaultServerUrl" /f


REM ***Find and delete RMS Server/Cluster

for /f "delims=" %%a in (' 
    reg query "HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\MSIPC" ^|
    find "rms.eu.aadrm.com"
') do (
     set "regs=%%a"
)

reg delete "%regs%" /f


REM ***Clear the existing licenses, GICs (RACs), and etc.

REM rmdir /S /Q %localappdata%\microsoft\MSIPC 
md %localappdata%\temp_RMS
robocopy %localappdata%\Temp_RMS %localappdata%\Microsoft\MSIPC /mir

8 Comments

  1. NoahVSolak Reply to NoahVSolak
    May 30, 2020 at 2:18 pm

    Hmm is anyone else encountering problems with the images on this blog loading? I’m trying to figure out if its a problem on my end or if it’s the blog. Any responses would be greatly appreciated.

    • Ryan Wilson Reply to Ryan
      June 1, 2020 at 9:15 am

      Blog has been tested on different machines and browsers with no issues, did you manage to resolve the issue?

  2. NildaZAdamos Reply to NildaZAdamos
    June 4, 2020 at 4:24 am

    I am going to immediately seize your rss feed as I simply cannot to find your e-mail subscription link or e-newsletter service. Do you’ve any? Please let me realize so that I may just subscribe. Thanks.

    • Ryan Wilson Reply to Ryan
      June 9, 2020 at 10:57 am

      Hi, i am in the progress of RSS feeds. Soon as i have created the RSS feeds i shall forward on the information
      Thanks
      Ryan

  3. TroyTHulette Reply to TroyTHulette
    June 4, 2020 at 2:08 pm

    There is certainly certainly much to understand this topic. I like every one of the points you’ve made.

  4. RayeXDuesing Reply to RayeXDuesing
    June 9, 2020 at 6:28 am

    Ahaa, its nice discussion concerning this paragraph at this particular place at this blog, We have read everything, so at this time me also commenting here.

  5. BurtonMBrohl Reply to BurtonMBrohl
    June 9, 2020 at 6:57 pm

    I am actually grateful to the owner on this site that has shared this enormous paragraph at here.

    • Ryan Wilson Reply to Ryan
      June 10, 2020 at 8:57 pm

      many thanks 🙂 means alot

Leave a Reply

Cancel reply

Recent Posts

  • Serverless LAPS using Azure function and Secret Key Vaults
  • MS Teams – export team owners
  • Deploy AppLocker in Intune- Block CMD and PowerShell
  • Autopilot Hybrid Joined device built outside the corporate network
  • Add a SharePoint site as a custom app within Teams
  • Query all MS Teams and Export list of guests added to each Team site
  • MS Flow – adding timestamp in the middle of a filename whilst retaining file extension
  • MS Flow to export outlook attachment into a Teams channel and notify users with an adaptive card
  • Unlicense Office suite using last 5 characters
  • Azure Information Protection – We were not able to find the Information Rights Management template.

Recent Comments

  • Ged on MS Flow to export outlook attachment into a Teams channel and notify users with an adaptive card
  • film on Autopilot Hybrid Joined device built outside the corporate network
  • Ryan Wilson on Azure Information Protection – We were not able to find the Information Rights Management template.
  • BurtonMBrohl on Azure Information Protection – We were not able to find the Information Rights Management template.
  • Ryan Wilson on Azure Information Protection – We were not able to find the Information Rights Management template.
  • RayeXDuesing on Azure Information Protection – We were not able to find the Information Rights Management template.
  • TroyTHulette on Azure Information Protection – We were not able to find the Information Rights Management template.
  • NildaZAdamos on Azure Information Protection – We were not able to find the Information Rights Management template.
  • Ryan Wilson on Azure Information Protection – We were not able to find the Information Rights Management template.
  • NoahVSolak on Azure Information Protection – We were not able to find the Information Rights Management template.

Archives

  • March 2021
  • December 2020
  • November 2020
  • October 2020
  • August 2020
  • June 2020
  • May 2020
  • February 2020
  • January 2020
  • December 2019
  • July 2019

Categories

  • IT Blogs (20)
© Copyright 2017. Theme by BloomPixel.