Skip to content

graph teams funsettings set

Updates fun settings of a Microsoft Teams team

Usage

graph teams funsettings set [options]

Options

Option Description
--help output usage information
-i, --teamId <teamId> The ID of the Teams team for which to update settings
--allowGiphy [allowGiphy] Set to true to allow giphy and to false to disable it
--giphyContentRating [giphyContentRating] Settings to set content rating for giphy. Allowed values Strict|Moderate
--allowStickersAndMemes [allowStickersAndMemes] Set to true to allow stickers and memes and to false to disable them
--allowCustomMemes [allowCustomMemes] Set to true to allow custom memes and to false to disable them
-o, --output [output] Output type. json|text. Default text
--verbose Runs command with verbose logging
--debug Runs command with debug logging

Important

Before using this command, log in to the Microsoft Graph, using the graph login command.

Remarks

To update fun settings of the specified Microsoft Teams team, you have to first log in to the Microsoft Graph using the graph login command, eg. graph login.

Examples

Allow giphy usage within a given Microsoft Teams team, setting the content rating for giphy to Moderate

graph teams funsettings set --teamId 83cece1e-938d-44a1-8b86-918cf6151957 --allowGiphy true --giphyContentRating Moderate

Disable usage of giphy within a given Microsoft Teams team

graph teams funsettings set --teamId 83cece1e-938d-44a1-8b86-918cf6151957 --allowGiphy false

Allow usage of stickers and memes within a given Microsoft Teams team

graph teams funsettings set --teamId 83cece1e-938d-44a1-8b86-918cf6151957 --allowStickersAndMemes true

Disable usage custom memes within a given Microsoft Teams team

graph teams funsettings set --teamId 83cece1e-938d-44a1-8b86-918cf6151957 --allowCustomMemes false