aad-group-msteams-tag-sync

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 13 Imported by: 0

README

CI GitHub license Current Release GitHub all releases codecov

aad-group-msteams-tag-sync

Utility to sync AAD Groups with MS Teams Tags using Microsoft Graph API.

At this moment, MS Teams Tags only support up to 25 members and require at least 1 member.

Requirements

Service Principal or equivalent with the following permissions:

  • GroupMember.Read.All
  • Team.ReadBasic.All
  • TeamworkTag.ReadWrite.All

If you are using a Service Principal, ensure that you grant Application. Delegated permission won't work.

Authentication

aad-group-msteams-tag-sync supports all authentication supported by Azure SDK for Go. You have to declare one set of the environment variables below.

Service principal with a secret
Variable name Value
AZURE_CLIENT_ID Application ID of an Azure service principal
AZURE_TENANT_ID ID of the application's Azure AD tenant
AZURE_CLIENT_SECRET Password of the Azure service principal
Service principal with certificate
Variable name Value
AZURE_CLIENT_ID Application ID of an Azure service principal
AZURE_TENANT_ID ID of the application's Azure AD tenant
AZURE_CLIENT_CERTIFICATE_PATH Path to a certificate file including private key (without password protection)
Use a managed identity
Variable name Value
AZURE_CLIENT_ID User-assigned managed client id. Can be avoid, if a system assign identity is used
AZURE_TENANT_ID ID of the application's Azure AD tenant
Supporting documentation

Usage

Usage of ./aad-group-msteams-tag-sync:
  -config string
        path to config file

See config.example.yaml for how to set up a sync config file. aad-group-msteams-tag-sync terminate after successful sync.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL