We utilize Office 365 and I'm looking for a way to track the Office 365 licenses in my KACE appliance.

I'm not sure the best way to setup assets for feature licenses that are not specific to any software catalog item.  For example everybody has Skype for Business installed as part of their Office package.  However select users have the Skype Calling PBX license (allows users to make domestic calls from Skype).  This license adds additional features in the Skype application

How would I track this?  I created a "Skype Calling" license asset but I don't see a way to manually assign that to users or computers unless I'm able to add it to a related software catalog item.
2 Comments   [ + ] Show Comments

Comments

  • I'm a little further down the rabbit hole. So it looks like I need to do a custom inventory rule. I found the registry key that is modified if this license is applied however it's stored in HKCU. So now I have a logon script that reads HKCU and creates a file "C:\Program Files\Microsoft Office 15\root\office15\LyncPBXLicense.txt"

    The text file will have a value of 1 or 0. 1 meaning the license is applied, 0 meaning it's not applied.

    So now I need to figure out how to create a custom inventory rule to read that file. I believe this is done using ShellCommandTextReturn(cmd /c type C:\Program Files\Microsoft Office 15\root\office15\LyncPBXLicense.txt)

    I'm new to custom inventory so I'm not sure what syntax to use to basically say if LyncPBXLicense.txt contains 1 software is installed else no software
    • Can your script write a value to HKLM? If so, then you can have your CIR check for that value. If not, then I would have the script create the file only if the value in HKCU is present, then your CIR can check for the presence of the file.
      • So the registry in question is in HKCU, nothing is written to HKLM. So I wrote a PS logon script to read HKCU and write the file. However the script is unable to write the file without elevated permissions which my users wont have. I can write the file to the user profile however that won't work for the CIR.
      • I would recommend finding a location that all users can write, perhaps something like c:\users\public\documents?
  • Well what I was finally able to do was create a computer GPO that gave users full access to a specific key in HKLM. Then in a separate user GPO I have a PS logon script that copies the key from HKCU to HKLM. From there I have CIR reading the HKLM.
Please log in to comment

There are no answers at this time

Answers

Answer this question or Comment on this question for clarity