CmdID / PowerShell / Cmdlets / Set
Set-CsTeamsSettingsCustomApp
Set the Custom Apps Setting's value of Teams Admin Center. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 3 parameters Its page in the reference
Parameters
-Confirm, -cfPrompts you for confirmation before running the cmdlet.-isSideloadedAppsInteractionEnabledThe value to Custom Apps Setting.-WhatIf, -wiShows what would happen if the cmdlet runs.