label microsoftteams-rollingout broken in Installomator (from Setup Manager.app).sh #13

Closed
opened 2026-01-19 18:31:14 +00:00 by michael · 1 comment
Owner

Originally created by @gvgameren on GitHub.

The Installomator (from Setup Manager.app).sh microsoftteams-rollingout label in Setup Manager releases broken.

broken:
appNewVersion=$(curl -s https://learn.microsoft.com/en-us/officeupdates/teams-app-versioning | awk '/

Mac version history</h4>/,/</table>/' | grep -oE '[0-9]+.[0-9]+.[0-9]+.[0-9]+' | head -n 1)

fix:
appNewVersion=$(curl -s https://learn.microsoft.com/en-us/officeupdates/teams-app-versioning | awk '/

Mac</h4>/,/</table>/' | grep -oE '[0-9]+.[0-9]+.[0-9]+.[0-9]+' | head -n 1)

Originally created by @gvgameren on GitHub. The Installomator (from Setup Manager.app).sh microsoftteams-rollingout label in Setup Manager releases broken. broken: appNewVersion=$(curl -s https://learn.microsoft.com/en-us/officeupdates/teams-app-versioning | awk '/<h4 id="mac-version-history">Mac version history<\/h4>/,/<\/table>/' | grep -oE '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | head -n 1) fix: appNewVersion=$(curl -s https://learn.microsoft.com/en-us/officeupdates/teams-app-versioning | awk '/<h4 id="mac">Mac<\/h4>/,/<\/table>/' | grep -oE '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | head -n 1)
michael added the Support label 2026-01-19 18:31:14 +00:00
Author
Owner

@scriptingosx commented on GitHub:

this is caused by Installomator/Installomator#2535 which will be fixed in Installomator 10.9

You have a few options until Installomator and Setup Manager get updated:

  • use a different MS Teams label
  • Jamf Pro: instead of using an installomator action use a policy action with the latest installomator beta (which has the fix) as a policy script
  • override the broken appNewVersion argument with the fix from the PR:
		<dict>
			<key>arguments</key>
			<array>
				<string>appNewVersion="$(curl -s https://learn.microsoft.com/en-us/officeupdates/teams-app-versioning | awk '/&lt;h4 id="mac"&gt;Mac&lt;\/h4&gt;/,/&lt;\/table&gt;/' | grep -oE '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | head -n 1)"</string>
				<string>downloadURL="https://statics.teams.cdn.office.net/production-osx/${appNewVersion}/MicrosoftTeams.pkg"</string>
			</array>
			<key>icon</key>
			<string>symbol:gear</string>
			<key>installomator</key>
			<string>microsoftteams-rollingout</string>
			<key>label</key>
			<string>Microsoft Teams</string>
		</dict>
  • build your own Installomator.sh and Installomator.pkg using the assemble.sh command and install that as a Prestage/Enrollment pkg or early in the Setup Manager actions and use that with a shell action instead
@scriptingosx commented on GitHub: this is caused by Installomator/Installomator#2535 which will be fixed in Installomator 10.9 You have a few options until Installomator and Setup Manager get updated: - use a different MS Teams label - Jamf Pro: instead of using an `installomator` action use a policy action with the latest installomator beta (which has the fix) as a policy script - override the broken `appNewVersion` argument with the fix from the PR: ``` <dict> <key>arguments</key> <array> <string>appNewVersion="$(curl -s https://learn.microsoft.com/en-us/officeupdates/teams-app-versioning | awk '/&lt;h4 id="mac"&gt;Mac&lt;\/h4&gt;/,/&lt;\/table&gt;/' | grep -oE '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | head -n 1)"</string> <string>downloadURL="https://statics.teams.cdn.office.net/production-osx/${appNewVersion}/MicrosoftTeams.pkg"</string> </array> <key>icon</key> <string>symbol:gear</string> <key>installomator</key> <string>microsoftteams-rollingout</string> <key>label</key> <string>Microsoft Teams</string> </dict> ``` - build your own Installomator.sh and Installomator.pkg using the `assemble.sh` command and install that as a Prestage/Enrollment pkg or early in the Setup Manager actions and use that with a `shell` action instead
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jamf/Setup-Manager#13