UiPath Documentation
marketplace
latest
false
Wichtig :
Dieser Inhalt wurde maschinell übersetzt. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.
UiPath logo, featuring letters U and I in white

Marketplace-Benutzerhandbuch

Letzte Aktualisierung 1. Apr. 2026

Microsoft Teams-Scope

The Microsoft Teams activities use the Microsoft identity platform to establish an authenticated connection between UiPath and your Microsoft Teams application via the Microsoft Scope activity. This connection enables a Robot to call the Microsoft Graph API to read and write resources on your behalf.

To establish your authenticated connection, you first register your Microsoft Teams application in your Azure Active Directory (using your personal, work, and/or school Microsoft Office 365 account). When registering your application, you assign the Microsoft Graph API permissions that specify the resources a Robot can access on your behalf.

After registering your Microsoft Teams application, Azure Active Directory assigns a unique application (client) ID that you enter in the Microsoft Teams Scope activity. The ApplicationID is used to collect the necessary information about your registered app to initiate authentication.

Hinweis:

To learn more about registering your application and assigning permission, see the Setup guide. This guide provides step-by-step instructions to configure your Microsoft Teams application for automation.

Wie es funktioniert

The following steps and message sequence diagram is an example of how the activity works from design time (that is, the activity dependencies and input/output properties) to run time.

  1. Schließen Sie die Einrichtungsschritte ab.

  2. Add the Microsoft Teams Scope activity to your project.

  3. Enter values for the Authentication, Input, and Unattended (if applicable) properties.

    docs image

Unattended- vs. Attended-Automatisierung

The Microsoft Teams Scope activity has three different authentication flows (AuthenticationTypes) that you can choose from when adding the activity to your project. Your selection is dependent on the type of automation mode you plan to run (unattended or attended) and your application authentication requirements (consult with your administrator if you're unsure which authentication requirements apply to your application).

AuthenticationTypeAttendedUnbeaufsichtigt
Interaktives TokenXKeine Angabe
IntegratedWindowsAuthenticationXX
UsernameAndPasswordXX
Wichtig:

Unattended automation does not support multi-factor authentication. If you're application requires multi-factor authentication, you can only run attended automation using the InteractiveToken authentication type.

Interaktives Token

The InteractiveToken authentication type can be used for attended automation and when multi-factor authentication (MFA) is required. This is the default option and what we use in our examples. If you're interested in "playing around" with the activity package, this option is easy to configure and works well for personal accounts (using the default redirect URI noted in step 7 of the Register your application section of the Setup guide).

When the Microsoft Teams Scope activity is run for the first time using this authentication type, you are prompted to authorize access to the resources (you granted permissions to when registering your app) via a consent dialogue box.

If you select this option, the Username, Password, and Tenant properties should be left empty.

This authentication type follows the OAuth 2.0 authorization code flow.

Integrierte Windows-Authentifizierung

The IntegratedWindowsAuthentication authentication type can be used for both attended and unattended automation. This option can apply to Windows hosted applications running on computers joined to a Windows domain or Azure Active Directory.

You should only select this option if your registered application is configured to support Integrated Windows Authentication (additional information can be found on GitHub).

If you select this option, the Username, Password, and Tenant properties should be left empty.

UsernameAndPassword

The UsernameAndPassword authentication type can be used for both attended (when multi-factor authentication is not required) and unattended automation.

Though it's not recommended by Microsoft, you can use this authentication type in public client applications. Using this authentication type imposes constraints on your application. For instance, apps using this flow won't be able to sign in a user who needs to perform multi-factor authentication (conditional access). It won't enable your application to benefit from single sign-on either. Authentication with username/password goes against the principles of modern authentication and is only provided for legacy reasons (additional information can be found on GitHub).

If you select this option, the Username and Password properties are required and the Tenant property is optional for single-tenant applications (required for multi-tenant applications).

Hinweis:

The ApplicationID property is required when selecting the UsernameAndPassword AuthenticationType. You can register your Microsoft Office 365 Application using your personal, work, and/or school account.

Eigenschaften

Die Werte für die folgenden Eigenschaften werden beim Hinzufügen dieser Aktivität zu Ihrem Projekt in UiPath Studio angegeben.

Allgemein

DisplayName

Der Anzeigename der Aktivität.

AttributeDetails
TypString
ErforderlichJa
StandardwertMicrosoft Teams-Scope
Zulässige WerteGeben Sie eine String oder String -Variable ein.
HinweiseKeine Angabe

Authentication

ApplicationID

The unique application (client) ID assigned by the Azure Active Directory when you registered your app during Setup.

Attribute

Details

Typ

String

Erforderlich

Ja

Standardwert

Leer

Zulässige Werte

Geben Sie eine String oder String -Variable ein.

Hinweise

  • Die Anwendungs-ID (Client) stellt eine Instanz einer Microsoft Teams-Anwendung dar. Eine einzelne Organisation kann mehrere Anwendungs-(Client-)IDs für ihr Microsoft Office 365-Konto haben. Jede Anwendungs-(Client-)ID enthält eigene Berechtigungen und Authentifizierungsanforderungen.
  • For example, you and your colleague can both register a Microsoft Teams application in your company's Azure Active Directory and generate your own application (client) ID.
AuthenticationType

Der für Ihre registrierte Anwendung erforderliche Authentifizierungstyp.

AttributeDetails
TypDropdownauswahl
ErforderlichJa
StandardwertInteraktives Token
Zulässige WerteSelect one of the three options: InteractiveToken IntegratedWindowsAuthentication UsernameAndPassword
HinweiseFor more information about these options and which one to select, see the Unattended and Attended Automation section above.
Mandant

The unique directory (tenant) ID assigned by the Azure Active Directory when you registered your app during.

AttributeDetails
TypString
ErforderlichNein (erforderlich für Anwendungen mit mehreren Mandanten)
StandardwertLeer
Zulässige WerteGeben Sie eine String oder String -Variable ein.
HinweiseDie Verzeichnis-ID (Mandant) finden Sie auf der Übersichtsseite Ihrer registrierten Anwendung (unter der Anwendungs-ID (Client).

Interaktives Token

OAuthAnwendung

Gibt die zu verwendende Anwendung (Client) an.

AttributeDetails
Typenum
ErforderlichNein
StandardwertBenutzerdefiniert
Zulässige WerteBenutzerdefiniert, UiPath
HinweiseWenn „UiPath“ ausgewählt ist, werden AnwendungsID und Mandant ignoriert.

Benutzername und Kennwort (Unattended)

These properties apply when you run unattended automation only. When specifying values for these properties, be sure the AuthenticationType property is set to UsernameAndPassword. For more information, see the Username and Password section above.

Passwort

Das Kennwort Ihres Microsoft Office 365-Kontos.

AttributeDetails
TypString
ErforderlichNo (required if AuthenticationType is UsernameAndPassword)
StandardwertLeer
Zulässige WerteGeben Sie eine String oder String -Variable ein.
HinweiseKeine Angabe
SicheresKennwort

Das Kennwort Ihres Microsoft Office 365-Kontos.

AttributeDetails
TypSecureString
ErforderlichNo (required if AuthenticationType is UsernameAndPassword) and Password is null.
StandardwertLeer
Zulässige WerteGeben Sie eine SecureString oder SecureString -Variable ein.
HinweiseKeine Angabe
Benutzername

Der Benutzername Ihres Microsoft Office 365-Kontos.

AttributeDetails
TypString
ErforderlichNo (required if AuthenticationType is UsernameAndPassword)
StandardwertLeer
Zulässige WerteGeben Sie eine String oder String -Variable ein.
HinweiseKeine Angabe

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben