11-11-2024 06:41 AM - edited 11-11-2024 07:18 AM
I have a script that shows exenstion attribute for the type of license installed for Office. With the release of the Office 2024 LTSC license does anyone know if the script will be updated to add the information for the 2024 license?
I installed the LTSC 2024 serializer but it still reads 'office 2021 volume license' and from the actual mac end the 'about word' shows 'Office LTSC Standard for Mac 2024'.
Word version is 16.90.2
the script is called Office_License.sh (see below for the script). Looks like an IF statement needs to be added for Office 2024 volume license
Posted on 11-11-2024 12:18 PM
Posted on 11-11-2024 08:48 PM
@tcandela I can help update the script for you but I will need your help in testing the same. Feel free to dm me on jamf nation or slack @Samstar777 and we can work together on this.
Posted on 11-12-2024 09:39 AM
I'm also VERY interested in this. The magic is in interpreting /Library/Preferences/com.microsoft.office.licensingV2.plist but the "data" blocks are not encoded in any way I could easily decode (not that I tried too hard, i.e. it's not straightforward base64 encoded). Happy to provide any info I can.
Posted on 11-12-2024 09:44 AM
@Samstar777 @JasonEgg let me know when you update the EA script and I'll use it and run a recon to see if my test mac changes from 2021 license to 2024
Posted on 11-14-2024 08:20 AM
Posted on 11-14-2024 01:23 PM
I sent some details to @Samstar777
I am going to try to get more examples and find patterns on my own as well
Posted on 11-18-2024 07:13 AM
@JasonEgg @Samstar777 let me know if you need anything to help with trying to figure this out
Posted on 11-19-2024 01:25 PM
I added:
if /usr/bin/grep -q "Bozo+MzVxzFzbIo+hhzTl41DwAFJEitHSg5IiCEeuI" "$PERPETUALLICENSE"; then
/bin/echo "Office 2024 Volume License"
return
fi
to our Office License extension attribute. After an inventory update, my test Mac reported having a Office 2024 Volume License instead of the perpetual license. Won't help with reporting the stacked licenses, but it's a start.
Posted on 11-19-2024 10:12 PM
Posted on 11-20-2024 11:03 AM
@Samstar777 @JasonEgg I'll give the updated EA a test and let you know what happens.
Posted on 11-21-2024 01:19 PM
Cursory testing reveals it is only accurate for new deployments, that is, fresh installations without a previously existing license file. For instances where license was "updated" from 2021 to 2024, the EA still reports 2021 even after 2024 license is applied. I believe this is is the "stacked" scenario that @RobbEFX is referring to.
The old pbowden script seemed to identify "stacked" instances by the length of the plist file, but perhaps this is no longer accurate?
I'm going to do some more testing
Posted on 11-21-2024 09:26 PM
@JasonEgg Thanks for your feedback, To Summarise the script works as expected on newly deployed device but does not work on existing office which got upgraded from Office 2021 to Office 2024. let me read the entire script and stacked logic to enhance the script. Thanks for the feedback and i believe together we can do it :)
Posted on 11-24-2024 10:26 AM
@Samstar777 @JasonEgg @RobbEFX @sdagley I'll see what I can also find out from looking at the original script. Anyone with programming experience It's pretty easy to follow what's happening.
Looks like 3 functions assigning 3 variables and from there basically a bunch of IFs to get the EA value.
Posted on 11-24-2024 11:03 PM
@JasonEgg I have given you a string in slack, could you run that and get me the output of the same.
2 weeks ago
@JasonEgg @Samstar777 how is everything going with the EA for LTSC Office 2024
2 weeks ago
Unfortunately no progress: the new version of the EA will identify only fresh installs of 2024, not the "stacked" instances. I've stared at the license plist files of about 5 devices and can't find a consistent rule to correctly identify 2024 in all cases.
2 weeks ago - last edited 2 weeks ago
that’s no problem at this point. it looks like the updated EA in github doesn’t have any documentation on new dates on when recent changed were made. Last change shows April 7, 2021.
so the only change/difference from the original EA script is that 1 if statement line 85 thru 88 ?