marketplace
latest
false
Important :
Ce contenu a été traduit à l'aide d'une traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.
UiPath logo, featuring letters U and I in white

Guide de l'utilisateur Marketplace

Dernière mise à jour 30 mars 2026

Configuration

Introduction

To enable the Microsoft Teams activities, your app must be integrated with the Microsoft identity platform and have the correct Microsoft Graph API permissions assigned to it.

To integrate your application, assign permissions, and start building your automation project, you will first need to decide if you will create your own app or use the UiPath app (for example, UiPathStudioO365App).

Important :

If you are using the UiPath app then you will need to ensure that you add admin consent.

Si vous n'ajoutez pas le consentement de l'administrateur, l'erreur ci-dessous s'affichera.

docs image

Si vous créez votre propre application, vous devrez suivre les étapes ci-dessous.

After registering your Microsoft Office Teams application, Azure Active Directory assigns a unique application (client) ID that you enter in the Microsoft Office Teams Scope.

Remarque :

If you already completed the Microsoft Office 365 Activities or have an existing registered application, you can go straight to the Add API permissions section and add the necessary permissions for the Microsoft Teams activities.

After adding the permissions, you'll be able to use the same ApplicationID in both the Microsoft Office 365 Scope and Microsoft Teams Scope activities.

docs image

Étapes

1. Enregistrez votre application

  1. Sign in to the Azure portal using your personal, work, or school Microsoft Office 365 account.

  2. In the left-hand navigation panel, click Azure Active Directory.

  3. After the Azure Active Directory page opens, click App registrations.

  4. Click + New registration in the top navigation bar.

    docs image

  5. Enter a Name for your application (e.g., "Office365App").

  6. Under Supported account types, select the option that applies to you.

    • Pour plus d'informations sur l'option à sélectionner, vous trouverez ci-dessous les recommandations de Microsoft :
      • Comptes uniquement dans cet annuaire de l'organisation (Accounts in this organization directory only) : utilisez cette option si votre public cible est interne à votre organisation.
      • Comptes dans n'importe quel annuaire de l'organisation (Tous les annuaires Azure AD - Multilocataire) : utilisez cette option si votre public cible est constitué de clients professionnels ou éducatifs et pour activer l'architecture mutualisée.
      • Les comptes dans n'importe quel annuaire de l'organisation (N'importe quel annuaire Azure AD - Multitenant) et les comptes Microsoft personnels (par exemple, Skype, Xbox) - Utilisez cette option pour cibler l'ensemble le plus large d'identités Microsoft et pour activer l'architecture multilocataire.
    • Under Redirect URI (optional), enter a URI address (if applicable).
    • Your selection is dependent on your authentication type. For more information on this topic, see the Unattended and Attended Automation in the Microsoft Teams Scope activity details page).
    • Dans notre exemple, l'organisation prend en charge l'authentification multi-locataires et ne peut utiliser que le type d'authentification par jeton interactif qui nécessite un URI de redirection.
    • Si votre type d'authentification est Authentification Windows intégrée ou Nom d'utilisateur et mot de passe, vous n'avez pas besoin d'enregistrer un URI de redirection pour votre application. Ces flux font un aller-retour vers le point de terminaison v2.0 de la plate-forme d'identité Microsoft, et votre application ne sera pas rappelée sur un URI spécifique.
    • For more information, see Desktop app-registration in the Microsoft identity platform documentation.
  7. Click Register.

    docs image

    Remarque :

    Today the Microsoft Authentication Library (MSAL.NET) uses urn:ietf:wg:oauth:2.0:oob as the default redirect URI and this value will likely work for you when using the InteractiveToken authentication type (we use this in all of our examples and Quickstart guides).

    In the future, Microsoft plans to change the default redirect URI to https://login.microsoftonline.com/common/oauth2/nativeclient, so you may consider using this instead.

Vous avez terminé ! Maintenant, ajoutons des autorisations API à votre application enregistrée.

2. Add API permissions

  1. From your registered application page (Azure portal > Azure Active Directory > App registrations > Office365App), click API permissions in the left-hand navigation panel.

  2. After the API permission page opens, click + Add a permission (this opens the Request API permissions window).

  3. Under Select an API, click Microsoft APIs (may be open by default).

  4. Under Commonly used Microsoft APIs, click Microsoft Graph.

    docs image

  5. Under What type of permissions does your application require?, click Delegated permissions to show the list of permissions.

    • While the Application permissions will also work, the activities are designed for apps with Delegated permissions assigned to the Microsoft Graph APIs.
    • For more information about permission types, see Configure a client application to access web APIs in the Microsoft Azure documentation.
  6. Utilisez la barre de recherche ou faites défiler la liste alphabétique vers le bas et sélectionnez les autorisations suivantes :

    • Chat.Lecture-Écriture (Chat.Lecture-Écriture)
    • Grouper.Lecture.Écriture.Tout
    • Lire.Tout. par l’utilisateur
  7. Click Add permissions (returning you to your list of API permissions)

    docs image

  8. Verify your API permissions include your added Chat, Group, and User permissions.

    docs image

3. Construisez votre projet

  1. Créez un nouveau projet d'automatisation.
    1. Open UiPath Studio.

    2. Under New Project, click Process (this opens a New Blank Process window).

    3. Enter a project Name, Location, and Description.

    4. Cliquez sur Créer (Create).

      docs image

  2. Install the UiPath.MicrosoftTeamsActivities package.
    1. In the Design ribbon, click Manage Packages (this opens the Manage Packages window).
    2. Under All Packages, click Go!
    3. In the Search bar, enter Teams.
    4. Click, install and accept the license for the UiPath.Teams.Activities.
      • For more information about Uipath Studio packages, see Managing Packages in the Studio Guide.

        docs image

Vous avez terminé !

Maintenant que vous avez terminé la configuration, vous pouvez commencer à ajouter les activités Microsoft Teams à votre projet.

Prochaines étapes

For a hands-on learning experience and to quickly start using the activities, see the Quickstart guides. These guides provide step-by-step instructions to help you create working samples of the different activities so that you can verify the connection to your registered app and get familiar with the input/output properties.

Pour en savoir plus sur les activités Microsoft Teams (y compris des exemples d’entrées/sorties de propriétés), consultez les pages d’activités suivantes pour obtenir une liste complète des activités et des liens vers les pages de détails des activités.

  • Introduction
  • Étapes
  • 1. Enregistrez votre application
  • 2. Add API permissions
  • 3. Construisez votre projet
  • Prochaines étapes

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour