Skip to content

Instantly share code, notes, and snippets.

View J-a-k-o-b's full-sized avatar

Jakob Schaefer J-a-k-o-b

  • thinformatics AG
  • Hamburg, Germany
  • X @Jak0b_S
View GitHub Profile
<#
.SYNOPSIS
Teams Policy assignment - assign-teamspolicies.ps1
Jakob Schaefer
02.04.2020
.DESCRIPTION
This script should help to assign Teams Policies to Teams users based on theire Group Membership or AD Attributes
<#
.SYNOPSIS
Teams Policy assignment - deploy-classteams.ps1
Jakob Schaefer
09.04.2020
.DESCRIPTION
This script was designed to deploy standardized Teams for Courses.
@J-a-k-o-b
J-a-k-o-b / migrate-planner.ps1
Last active July 18, 2022 23:48
Use this script to migrate Microsoft Planner plans from one Tenant to another tenant.
<#
.SYNOPSIS
Tenant to tenant planner migration - migrate-planner.ps1
.NOTES
Author: Jakob Schaefer, thinformatics AG
Version: 1.0
Creation Date: 2020/07/02
.DESCRIPTION
@J-a-k-o-b
J-a-k-o-b / RB-CheckGuestStatus.ps1
Created September 21, 2020 09:57
This script is part of a teams Governance Process. LINK: http://blog.thinformatics.com/2020/09/another-microsoft-teams-governance-approach-using-aad-identity-governance/ In this Azure Automation Runbook one or more given identitys will be checked for their status.
<#
.SYNOPSIS
Guest User Status Check - RB-CheckGuestStatus.ps1
.NOTES
Author: Jakob Schaefer, thinformatics AG
Version: 1.0
Creation Date: 2020/09/21
.DESCRIPTION
@J-a-k-o-b
J-a-k-o-b / RB-createAccessPackage.ps1
Created September 21, 2020 09:57
This script is part of a teams Governance Process. LINK: http://blog.thinformatics.com/2020/09/another-microsoft-teams-governance-approach-using-aad-identity-governance/ In this Azure Automation Runbook a Access Package Catalog for a new Team. This Catalog is used in a new created Access Package to govern the membership´s based on policy's.
<#
.SYNOPSIS
Create an Azure Access Package including Catalog and Policies for a Team - RB-createAccessPackage.ps1
.NOTES
Author: Jakob Schaefer, thinformatics AG
Version: 1.0
Creation Date: 2020/09/21
.DESCRIPTION
@J-a-k-o-b
J-a-k-o-b / RB-createConnectedOrganization.ps1
Created September 21, 2020 09:59
This script is part of a teams Governance Process. LINK: http://blog.thinformatics.com/2020/09/another-microsoft-teams-governance-approach-using-aad-identity-governance/ In this Azure Automation Runbook a Connected Organization is created which will be used for Access Package Policies and Approval Scenarios
<#
.SYNOPSIS
Creates a connected organization for a new partner - RB-createConnectedOrganization.ps1
.NOTES
Author: Jakob Schaefer, thinformatics AG
Version: 1.0
Creation Date: 2020/09/21
.DESCRIPTION
@J-a-k-o-b
J-a-k-o-b / Prepare-RB-AssignTeamsPolicies.ps1
Last active June 30, 2022 13:59
The Script prepares the environment for the Teams app permission policy
$AZResourceGroupName='JSF_Automation'
$AAName="TeamsOperationTasks"
$AALocation='germanywestcentral'
$AZKeyVaultName='OperationSecrets'
$AZSubscriptionID='c221eb8c-453d-480b-a809-XXXXXXXX'
$AZTenantID='763aefea-a45b-49f4-a4a4-XXXXXXXXX'
connect-azaccount -SubscriptionId $AZSubscriptionID -Tenant $AZTenantID
#create Automation Account with a System assigned managed identity
$AutomationAccount=New-AzAutomationAccount -Name $AAName -ResourceGroupName $AZResourceGroupName -Location $AALocation -AssignSystemIdentity