Create microsoftteams-rollingout.sh#1670
Conversation
created "new" label for the "rolling out" version of Microsoft Teams as listed on the kb page for Teams App Versioning.
corrected "appNewVersion" thx to Richard G on macadmins slack for pointing out the issue/fixing my "glitch"
|
after fixing the appNewVersion (again) and adding the fragment to my current Installomator 10.5 script in Jamf, I ran an install policy on my system via Self Service, here's the log output. Seems to quit all processes/install w/o problem after updating/correcting appNewVersion. |
|
I had to remove line 8 from microsoftteamsrollingout.sh to get it to work. (grep -A 3 '(Rolling out)' |) |
Thx for pointing that out :-) I had re-submitted the PR changing the newAppVersion to a single line yesterday evening/afternoon (which removed that part) cause someone on macadmins slack pointed out it wasn't pulling the version number for them. I had so many windows open on my system, I probably copy/pasted the wrong function (one i had tested that didn't work) into the PR I originally submitted. appNewVersion should be a one-liner (pasted below) in the update to this PR I thought I submitted last night.
Maybe I submitted the update to the PR incorrectly? Correct label should be: |
…ngout.sh renamed/changed label to match microsoftonedrive-rollingout
|
Thank you! |

label "microsoftteamsrollingout" label for the "rolling out" version of "Microsoft Teams.app" (post app binary name-changes) as listed on the Microsoft Learn page: Teams App Versioning
__________________________________-
OUTPUT of ./assemble.sh microsoftteamsrollingout
./assemble.sh microsoftteamsrollingout DEBUG=0
2024-05-23 18:14:33 : REQ : microsoftteamsrollingout : ################## Start Installomator v. 10.6beta, date 2024-05-23
2024-05-23 18:14:33 : INFO : microsoftteamsrollingout : ################## Version: 10.6beta
2024-05-23 18:14:33 : INFO : microsoftteamsrollingout : ################## Date: 2024-05-23
2024-05-23 18:14:33 : INFO : microsoftteamsrollingout : ################## microsoftteamsrollingout
2024-05-23 18:14:33 : DEBUG : microsoftteamsrollingout : DEBUG mode 1 enabled.
2024-05-23 18:14:33 : INFO : microsoftteamsrollingout : setting variable from argument DEBUG=0
2024-05-23 18:14:33 : DEBUG : microsoftteamsrollingout : name=Microsoft Teams
2024-05-23 18:14:33 : DEBUG : microsoftteamsrollingout : appName=
2024-05-23 18:14:33 : DEBUG : microsoftteamsrollingout : type=pkg
2024-05-23 18:14:33 : DEBUG : microsoftteamsrollingout : archiveName=
2024-05-23 18:14:33 : DEBUG : microsoftteamsrollingout : downloadURL=https://statics.teams.cdn.office.net/production-osx/24102.2214.2869.7475/MicrosoftTeams.pkg
2024-05-23 18:14:33 : DEBUG : microsoftteamsrollingout : curlOptions=
2024-05-23 18:14:33 : DEBUG : microsoftteamsrollingout : appNewVersion=24102.2214.2869.7475
2024-05-23 18:14:34 : DEBUG : microsoftteamsrollingout : appCustomVersion function: Not defined
2024-05-23 18:14:34 : DEBUG : microsoftteamsrollingout : versionKey=CFBundleShortVersionString
2024-05-23 18:14:34 : DEBUG : microsoftteamsrollingout : packageID=com.microsoft.teams2
2024-05-23 18:14:34 : DEBUG : microsoftteamsrollingout : pkgName=
2024-05-23 18:14:34 : DEBUG : microsoftteamsrollingout : choiceChangesXML=
2024-05-23 18:14:34 : DEBUG : microsoftteamsrollingout : expectedTeamID=UBF8T346G9
2024-05-23 18:14:34 : DEBUG : microsoftteamsrollingout : blockingProcesses=Teams MSTeams Microsoft Teams Microsoft Teams WebView Microsoft Teams WebView Helper Microsoft Teams Launcher Microsoft Teams (work preview) Microsoft Teams classic Helper com.microsoft.teams2.respawn
2024-05-23 18:14:34 : DEBUG : microsoftteamsrollingout : installerTool=
2024-05-23 18:14:34 : DEBUG : microsoftteamsrollingout : CLIInstaller=
2024-05-23 18:14:34 : DEBUG : microsoftteamsrollingout : CLIArguments=
2024-05-23 18:14:34 : DEBUG : microsoftteamsrollingout : updateTool=/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate
2024-05-23 18:14:34 : DEBUG : microsoftteamsrollingout : updateToolArguments=--install --apps TEAMS21
2024-05-23 18:14:34 : DEBUG : microsoftteamsrollingout : updateToolRunAsCurrentUser=
2024-05-23 18:14:34 : INFO : microsoftteamsrollingout : BLOCKING_PROCESS_ACTION=tell_user
2024-05-23 18:14:34 : INFO : microsoftteamsrollingout : NOTIFY=success
2024-05-23 18:14:34 : INFO : microsoftteamsrollingout : LOGGING=DEBUG
2024-05-23 18:14:34 : INFO : microsoftteamsrollingout : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2024-05-23 18:14:34 : INFO : microsoftteamsrollingout : Label type: pkg
2024-05-23 18:14:34 : INFO : microsoftteamsrollingout : archiveName: Microsoft Teams.pkg
2024-05-23 18:14:34 : DEBUG : microsoftteamsrollingout : Changing directory to /var/folders/7n/9mn01rf93n38hn7564ydmsv80000gq/T/tmp.z6fUUui9iQ
2024-05-23 18:14:34 : INFO : microsoftteamsrollingout : found packageID com.microsoft.teams2 installed, version 24102.2214.2869.7475
2024-05-23 18:14:34 : INFO : microsoftteamsrollingout : appversion: 24102.2214.2869.7475
2024-05-23 18:14:34 : INFO : microsoftteamsrollingout : Latest version of Microsoft Teams is 24102.2214.2869.7475
2024-05-23 18:14:34 : INFO : microsoftteamsrollingout : There is no newer version available.
2024-05-23 18:14:34 : DEBUG : microsoftteamsrollingout : Deleting /var/folders/7n/9mn01rf93n38hn7564ydmsv80000gq/T/tmp.z6fUUui9iQ
2024-05-23 18:14:34 : DEBUG : microsoftteamsrollingout : Debugging enabled, Deleting tmpDir output was:
/var/folders/7n/9mn01rf93n38hn7564ydmsv80000gq/T/tmp.z6fUUui9iQ
2024-05-23 18:14:34 : INFO : microsoftteamsrollingout : Installomator did not close any apps, so no need to reopen any apps.
2024-05-23 18:14:34 : REQ : microsoftteamsrollingout : No newer version.
2024-05-23 18:14:34 : REQ : microsoftteamsrollingout : ################## End Installomator, exit code 0