Examples/Resources/TeamsAppSetupPolicy/1-TeamsAppSetupPolicy-Example.ps1
<#
This example is used to test new resources and showcase the usage of new resources being worked on. It is not meant to use as a production baseline. #> Configuration Example { param( [Parameter(Mandatory = $true)] [PSCredential] $Credscredential ) Import-DscResource -ModuleName Microsoft365DSC node localhost { TeamsAppSetupPolicy "TeamsAppSetupPolicy-TestPolicy" { AllowSideLoading = $True; AllowUserPinning = $True; AppPresetList = "com.microsoft.teamspace.tab.vsts"; Credential = $Credscredential; Description = "My test policy"; Ensure = "Present"; Identity = "Test Policy"; PinnedAppBarApps = @("14d6962d-6eeb-4f48-8890-de55454bb136","86fcd49b-61a2-4701-b771-54728cd291fb","2a84919f-59d8-4441-a975-2a8c2643b741","ef56c0de-36fc-4ef8-b417-3d82ba9d073c","20c3440d-c67e-4420-9f80-0e50c39693df","5af6a76b-40fc-4ba1-af29-8f49b08e44fd"); } } } |