- Überblick
- Excel
- Versionshinweise
- Über das Excel-Aktivitätspaket
- Projektkompatibilität
- Unterstützte Zeichenkodierung (Supported Character Encoding)
- Projekteinstellungen
- Add or Update Excel Sensitivity Label
- Bereich anfügen (Append Range)
- Auto Fill
- Bereich automatisch anpassen (Autofit Range)
- Change Pivot Data Source
- Clear Sheet/Range/Table
- Copy/Paste Range
- Pivot-Tabelle erstellen (Create Pivot Table)
- Spalte löschen (Delete Column)
- Delete Rows
- Delete Sheet
- Duplicate Sheet
- Export to CSV
- Fill Range
- Filter
- Filter Pivot Table
- Find First/Last Data Row
- Wert finden/ersetzen (Find/Replace Value)
- For Each Excel Row
- For Each Excel Sheet
- Als Tabelle formatieren
- Format Cells
- .Zellfarbe abrufen (Get Cell Color)
- Excel-Diagramm abrufen (Get Excel Chart)
- Get Excel Sensitivity Label
- Ausgewählten Bereich abrufen (Get Select Range)
- Spalte einfügen (Insert Column)
- Diagramm einfügen
- Insert Rows
- Insert Sheet
- VBA aufrufen (Invoke VBA)
- Suche
- Match function
- Blatt schützen
- Zellformel lesen (Read Cell Formula)
- Read Cell Value
- Bereich lesen (Read Range)
- Excel-Datenverbindungen aktualisieren (Refresh Excel Data Connections)
- Pivot-Tabelle aktualisieren (Refresh Pivot Table)
- Remove Duplicates
- Rename Sheet
- Run Spreadsheet Macro
- Save Excel File
- Save Excel File As
- Save Excel File As PDF
- Bereich auswählen (Select Range)
- Sort Range
- Text To Columns
- Unprotect Sheet
- Excel-Diagramm aktualisieren (Update Excel Chart)
- Excel-Datei verwenden
- VLookup
- Zelle schreiben (Write Cell)
- CSV schreiben (Write CSV)
- DataTable in Excel schreiben
- Excel-Anwendungsbereich (Excel Application Scope)
- An CSV anfügen (Append To CSV)
- CSV lesen (Read CSV)
- CSV schreiben (Write CSV)
- Spalte löschen (Delete Column)
- Tabelle filtern (Filter Table)
- Tabellenbereich erhalten (Get Table Range)
- Spalte einfügen (Insert Column)
- Tabelle sortieren (Sort Table)
- Bereich anfügen (Append Range)
- Arbeitsmappe schließen (Close Workbook)
- .Zellfarbe abrufen (Get Cell Color)
- Zelle lesen (Read Cell)
- Zellformel lesen (Read Cell Formula)
- Spalte lesen (Read Column)
- Bereich lesen (Read Range)
- Zeile lesen (Read Row)
- Bereich auswählen (Select Range)
- Bereichsfarbe auswählen (Set Range Color)
- Zelle schreiben (Write Cell)
- Schreibbereich (Write Range)
- Arbeitsmappe speichern (Save Workbook)
- Tabelle erstellen (Create Table)
- Arbeitsmappenblatt abrufen (Get Workbook Sheet)
- Arbeitsmappenblätter abrufen (Get Workbook Sheets)
- Pivot-Tabelle aktualisieren (Refresh Pivot Table)
- Pivot-Tabelle erstellen (Create Pivot Table)
- Ausgewählten Bereich abrufen (Get Select Range)
- Blatt kopieren (Copy Sheet)
- Bereich löschen
- Bereich automatisch ausfüllen (Auto Fill Range)
- Bereich kopieren und einfügen (Copy Paste Range)
- Makro ausführen (Execute Macro)
- Spalten einfügen/löschen (Insert/Delete Columns)
- Zeilen einfügen/löschen (Insert/Delete Rows)
- VBA aufrufen (Invoke VBA)
- Bereich nachschlagen (LookUp Range)
- Doppelten Bereich entfernen (Remove Duplicate Range)
- Excel Process Scope
- Verwalten von CSV-Dateien
- Filtern von CSV-Dateien
- Überprüfen von CSV-Dateien
- Tabellenfunktionen
- Verwalten von mehreren Excel-Dateien
- Interpretieren von Excel-Ergebnissen
- Verwalten von Pivot-Tabellen
- Verwalten der Bereichsauswahl
- Lesen aus Excel-Dateien
- Verwalten von Datenbanken in Excel
- Vergleichen von CSV-Dateien
- Vergleichen von numerischen Werten
- Sortieren von Daten in Excel-Dateien
- Filtern und Löschen von Zeilen in Excel-Dateien
- Bearbeiten der Bereichsauswahl
- Überprüfen von Excel-Arbeitsmappendaten
- Lesen, Schreiben und Anfügen von Daten in Excel
- Google Workspace
- Versionshinweise
- Über das Google Workspace-Aktivitätspaket
- Projektkompatibilität
- HTTP-Anfrage (HTTP Request)
- E-Mail Archivieren (Archive E-Mail
- E-Mail löschen (Delete E-Mail)
- Download Email
- Download Email Attachments
- Get Email List
- Für jede E-Mail
- E-Mail weiterleiten (Forward E-Mail)
- Get Email By Id
- Get Newest Email
- E-Mail als gelesen/ungelesen markieren (Mark Email as Read/Unread)
- Move Email
- Auf E-Mail antworten (Reply to E-Mail)
- E-Mail senden (Send E-Mail)
- Apply Gmail Labels
- Gmail-Beschriftungen entfernen
- Turn On Automatic Replies
- Turn Off Automatic Replies
- Verbindungen
- Add Sheet
- Kalkulationstabelle hinzufügen
- Spalte löschen (Delete Column)
- Bereich löschen
- Delete Rows
- Delete Sheet
- Get Named Ranges
- Bereiche abrufen
- Get Sheets
- Kalkulationstabellen abrufen
- Zelle lesen (Read Cell)
- Bereich lesen (Read Range)
- Rename Sheet
- Zelle schreiben (Write Cell)
- Write Column
- Schreibbereich (Write Range)
- Write Row
- Optionen
- Apply File Labels
- Clear File Label Fields
- Datei kopieren
- Create Folder
- Element löschen
- Download File
- Get Drive Labels
- Get File
- Get File Labels
- Get Files
- Dateien und Ordner abrufen
- Get Folder
- Get Folders
- Get Item
- Move File
- Move Folder
- Datei aktualisieren
- Ordner aktualisieren
- Element aktualisieren
- Remove File Labels
- Share File
- Ordner freigeben
- Datei hochladen
- Upload Files
- Optionen
- Beschriftungen anwenden
- E-Mail Archivieren (Archive E-Mail
- E-Mail löschen (Delete E-Mail)
- Download Email
- DownloadEmailAttachment
- Download Email Attachments
- E-Mail weiterleiten (Forward E-Mail)
- Get Email
- GetEmailAttachmentsInfo
- Get Emails
- Get Mail Labels
- Get Newest Email
- Mark Email As Read
- E-Mail als ungelesen markieren
- Move Email
- Bezeichnungen entfernen
- Reply To Email
- E-Mail senden (Send E-Mail)
- Turn Off Automatic Replies
- Turn On Automatic Replies
- Optionen
- Add Attendee
- Termin erstellen
- Ereignis löschen
- Modify Event
- Search Events
- Google Drive verwenden
- Share File
- Delete File Permission
- Get File Permissions
- Update File Permission
- Datei kopieren (Copy File)
- Create Folder
- Delete File
- Download File
- Find Files and Folders
- Get File Info
- Datei verschieben (Move File)
- Upload File
- Create Document
- Create New SpreadSheet
- Get Mail Messages
- Send Mail Messages
- Change Labels
- Google-Kalkulationstabelle verwenden
- Add Delete Columns
- Add Delete Rows
- Bereich automatisch ausfüllen (Auto Fill Range)
- Add New Sheet
- Append Row
- Batch Spreadsheet Updates
- Blatt kopieren (Copy Sheet)
- Bereich kopieren und einfügen (Copy Paste Range)
- Bereich löschen
- Delete Sheet
- .Zellfarbe abrufen (Get Cell Color)
- Get Sheets
- Zelle lesen (Read Cell)
- Spalte lesen (Read Column)
- Bereich lesen (Read Range)
- Zeile lesen (Read Row)
- Rename Sheet
- Zelle schreiben (Write Cell)
- Schreibbereich (Write Range)
- Clear Range
- Download Spreadsheet
- Use Google Document
- Batch Document Updates
- Get Document
- Get Text Index
- Insert Text
- Text ersetzen (Replace Text)
- Read All Text
- Create Script Project
- Get Project Content
- Upload Script File
- Create Deployment
- Run Script
- E-Mail (Mail)
- Versionshinweise
- Projektkompatibilität
- Use Desktop Outlook App
- Use Gmail
- Use Outlook 365
- E-Mail Archivieren (Archive E-Mail
- E-Mail löschen (Delete E-Mail)
- Für jede E-Mail
- E-Mail weiterleiten (Forward E-Mail)
- Get Email By Id
- E-Mail als gelesen/ungelesen markieren (Mark Email as Read/Unread)
- Move Email
- Auf E-Mail antworten (Reply to E-Mail)
- E-Mail speichern (Save Email)
- Save Email Attachments
- Send Calendar Invite
- E-Mail senden (Send E-Mail)
- Outlook-Mail-Nachrichten erhalten (Get Outlook Mail Messages)
- Outlook-Mail-Nachricht verschieben (Move Outlook Mail Message)
- Outlook-Mail-Nachricht senden (Send Outlook Mail Message)
- Save Outlook Mail Message
- Delete Outlook Mail Message
- Reply To Outlook Mail Message
- Set Outlook Mail Categories
- Mark Outlook Mail As Read/Unread
- Outlook Mail Messages Trigger
- Microsoft 365
- Versionshinweise
- About the Microsoft 365 activity package
- How to connect to Microsoft 365 activities
- Projektkompatibilität
- HTTP-Anfrage (HTTP Request)
- E-Mail löschen (Delete E-Mail)
- E-Mail Archivieren (Archive E-Mail
- Get Email List
- Download Email
- Download Email Attachments
- Für jede E-Mail
- E-Mail weiterleiten (Forward E-Mail)
- Get Email By ID
- Get Newest Email
- Mark Email as Read/Unread
- Move Email
- Auf E-Mail antworten (Reply to E-Mail)
- E-Mail senden (Send E-Mail)
- Set Email Categories
- Turn On Automatic Replies
- Turn Off Automatic Replies
- Verbindungen
- AddEmailCategories
- E-Mail Archivieren (Archive E-Mail
- E-Mail löschen (Delete E-Mail)
- Download Email
- DownloadEmailAttachment
- Download Email Attachments
- E-Mail weiterleiten (Forward E-Mail)
- Get Email
- GetEmailAttachmentsInfo
- Get Emails
- GetMailFolders
- Get Newest Email
- Mark Email As Read
- E-Mail als ungelesen markieren
- Move Email
- RemoveEmailCategories
- Reply To Email
- E-Mail senden (Send E-Mail)
- Turn Off Automatic Replies
- Turn On Automatic Replies
- Mehrere Blätter in einem neuen Excel-Zusammenfassungsblatt zusammenführen
- Automatisch Kalendereinladungen Ihres Vorgesetzten akzeptieren
- Dateien nach Typ in dedizierte Ordner verschieben
- Überprüfen Sie, ob die neuen Beschäftigungsdokumente (I9 und ID) übereinstimmen
- Neuer Kunden zu einer SharePoint-Liste hinzufügen
- Elemente der SharePoint-Liste löschen, die neuer als gestern sind
- Benachrichtigung auf Slack, wenn eine wichtige Outlook-E-Mail eingegangen ist
- Erstellungsdatum in neue OneDrive-Dateinamen einbeziehen
- Benachrichtigung per E-Mail, wenn eine neue Datei erstellt wird
- Microsoft Office 365 Scope
- Add Sheet
- Bereich anfügen (Append Range)
- Clear Range
- Copy Range
- Blatt kopieren (Copy Sheet)
- Create Workbook
- Bereich löschen
- Delete Sheet
- .Zellfarbe abrufen (Get Cell Color)
- Get Sheets
- Zelle lesen (Read Cell)
- Spalte lesen (Read Column)
- Bereich lesen (Read Range)
- Zeile lesen (Read Row)
- Rename Sheet
- Zelle schreiben (Write Cell)
- Schreibbereich (Write Range)
- Bereichsfarbe auswählen (Set Range Color)
- Tabelle erstellen (Create Table)
- Tabellenbereich erhalten (Get Table Range)
- Spalte einfügen (Insert Column)
- Spalte löschen (Delete Column)
- Insert Rows
- Delete Rows
- VLookup Range
- Use OneDrive & SharePoint
- Datei/Ordner kopieren
- Create Folder
- Delete File/Folder
- Download File
- Export File as PDF
- Find Files And Folders
- Get File/Folder
- Datei/Ordner verschieben
- Upload File
- Datei/Ordner freigeben
- For Each File/Folder
- Forward Mail
- Get Mail
- Move Mail
- Send Mail
- Reply to Mail
- Delete Mail
- Set Mail Categories
- Add Attachment
- Add Attendee
- Standort hinzufügen
- Termin erstellen
- Ereignis löschen
- Find Meeting Times
- Get Calendars
- Modify Event
- RSVP
- Search Events
- Create Group
- Gruppe löschen
- Get Group
- List Groups
- Create Bucket
- Delete Bucket
- List Buckets
- List Bucket Tasks
- Create Plan
- Get Plan
- List Plans
- Create Task
- Delete Task
- Get Task
- List Tasks
- Update Task
- For Each List
- Get List Info
- For Each List Item
- Delete List Item
- Add List Items
- Listenelement aktualisieren
- Get List Items
- Präsentationen
- Versionshinweise
- Über das Präsentations-Aktivitätspaket
- Projektkompatibilität
- PowerPoint-Vertraulichkeitsbeschriftung hinzufügen oder aktualisieren
- Add Data Table to Slide
- Add File to Slide
- Bild oder Video zur Folie hinzufügen
- Add New Slide
- Add Text to Slide
- Copy Paste Slide
- Delete Slide
- Folieninhalt formatieren (Format Slide Content)
- Powerpoint-Vertraulichkeitsbeschriftung abrufen
- Replace Text in Presentation
- Element in Folie kopieren (Paste Item into Slide)
- Run Presentation Macro
- Save PowerPoint File As
- Save Presentation as PDF
- Use PowerPoint Presentation
- Word
- Versionshinweise
- Über das Word-Aktivitätspaket
- Projektkompatibilität
- Word Application Scope / Use Word File
- Add or Update Word Sensitivity Label
- Add Hyperlink to Document
- Bild hinzufügen (Add Image)
- Text anhängen (Append Text)
- Get Word Sensitivity Label
- Insert DataTable in Document
- Paste Chart/Picture into Document
- Text lesen (Read Text)
- Bild ersetzen (Replace Picture)
- Replace Text in Document
- Save Document As
- Save Document as PDF
- Lesezeicheninhalt setzen (Set Bookmark Content)
How to connect to Microsoft 365 activities
Microsoft 365 activities have different authentication flows that you can choose from. Your choice is dependent on: the type of automation mode you plan to run (attended or unattended), the type of projects you want to build (cross-platform or Windows), the type of permissions you want to grant (delegated or app-only), and your application authentication requirements (consult with your administrator if you're unsure which authentication requirements apply to your application).
Microsoft Authentication flow | Microsoft 365 Scope - Authentication type | Integration Service-Verbindung | Robot type - Attended | Robot type - Unattended | API permission type |
---|---|---|---|---|---|
OAuth 2.0 authorization code flow |
Interactive Token - public app | OAuth 2.0: Autorisierungscode |
Delegierte Berechtigungen | ||
Interactive Token - BYOA | Bringen Sie Ihre eigene OAuth 2.0-App mit | Delegierte Berechtigungen | |||
Integrated Windows authentication (IWA) | Keine Angabe |
Delegierte Berechtigungen | |||
UsernameAndPassword | Keine Angabe |
Delegierte Berechtigungen | |||
OAuth 2.0 client credentials flow | Application ID and secret | Keine Angabe |
Anwendungsberechtigungen | ||
Keine Angabe |
Anwendungsberechtigungen |
To understand the differences between delegated and application permissions, see the Microsoft official documentation: Comparison of delegated and application permissions.
Briefly, the differences are as follows:
- With delegated permissions, the application impersonates a user and acts on the user's behalf. The application can access only what the signed-in user can access.
- With application permissions, the application acts on its own, without a signed-in user. The application can access any data that its permissions are associated with.
For both delegated and application permissions, you can restrict what the application can and can't access using the scopes defined when you create the app. Refer to Scopes and permissions in the Microsoft documentation.
Both Microsoft 365 Scope and Integration Service connections support single tenant applications and multitenant applications. To learn the difference between the two, refer to Who can sign in to you app? in the Microsoft official documentation.
Both Microsoft 365 Scope and Integration Service connections support multiple Azure environments:
- Connections through the Scope activity support: Azure, Azure Global, China, Germany or US Government. The default value is Global.
- Connections through Integration Service support: Default, US Government L4, US Government L5, and China.
Integration Service connectors use OAuth 2.0 authorization code flow with delegated permissions.
The Microsoft 365 modern activities and triggers establish an authenticated connection to the Integration Service Microsoft OneDrive & SharePoint and the Microsoft Outlook 365 connectors. To learn more about Integration Service connections, refer to Set up Integration Service connectors.
When you connect to the Microsoft connectors in Integration Service, you have the option to use the standard UiPath public application (with a set of default, non-configurable scopes) or create your own application with Microsoft and customize the scopes you need.
The Microsoft 365 Classic activities establish an authenticated connection to your Microsoft 365 applications via the Microsoft 365 Scope activity.
The activities need authorization from the Microsoft identity platform. To enable authorization, you first register your Microsoft 365 application in your Azure Active Directory. When registering your application, you assign Microsoft Graph API permissions to specify the resources your Robot can access on your behalf.
After registering your Microsoft 365 application, Azure Active Directory assigns a unique application (client) ID that you enter in the Microsoft 365 Scope activity. The Application ID is used to collect the necessary information about your registered app to initiate authentication and get the access token to establish the connection.
When you add an activity to Microsoft 365 Scope, its required scopes are automatically detected. You can also choose to allow additional scopes.
- Runs: as a user.
- Scenario: attended automation.
- Delegated permissions.
- When registering your application, you must select an application type. For interactive token authentication, use a mobile/desktop application (which uses OAuth 2.0 authorization code flow).
- Der Authentifizierungstyp „Interaktives Token“ kann für die Attended-Automatisierung verwendet werden und wenn eine mehrstufige Authentifizierung (MFA) erforderlich ist. Dies ist die Standardoption, die wir in unseren Beispielen verwenden. Wenn Sie das Aktivitätspaket ausprobieren möchten, ist diese Option einfach zu konfigurieren und funktioniert gut für persönliche Konten (mit dem Standardumleitungs-URI, der in Schritt 7 im Abschnitt Registrieren Ihrer Anwendung der Einrichtungsanleitung angegeben ist).
- You have the option to register and use your own Azure app (i.e., OAuthApplication = Custom) or the one provided by UiPath (OAuthApplication = UiPath).
- When you run the Microsoft 365 activity 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. See Get access on behalf of a user.
- If you select this authentication type in Microsoft 365 Scope, leave the Username, Password, and Tenant fields empty.
- Runs: as a user.
- Scenario: unattended automation.
- Delegated permissions.
- Der Authentifizierungstyp „Integrierte Windows-Authentifizierung“ kann für die Unattended-Automatisierung verwendet werden. Diese Option kann für gehostete Windows-Anwendungen gelten, die auf Computern ausgeführt werden, die mit einer Windows-Domäne oder Azure Active Directory verbunden sind.
- When registering your application, you must select an application type. For IWA authentication type, you must use a mobile/desktop application (which uses OAuth 2.0 authorization code flow).
- Works only for federated users and if your registered Azure application is configured to support IWA. Doesn't work for multi-factor authentication (MFA). See details here: IWA on GitHub.
- You should only select this option if your registered application is configured to support Integrated Windows Authentication.
- If you select this authentication type in Microsoft 365 Scope, leave the Username and Password fields empty. The Tenant field is optional.
- Runs: as a user.
- Scenario: unttended automation.
- Delegated permissions.
- This authentication type is provided only for legacy reasons. We do not recommend using this option, as it goes against the principles of modern authentication. It doesn't work for multi-factor authentication (MFA). See details here: User & Password on GitHub.
- Obwohl dies von Microsoft nicht empfohlen wird, können Sie diesen Authentifizierungstyp in öffentlichen Clientanwendungen verwenden. Die Verwendung dieses Authentifizierungstyps erlegt Ihrer Anwendung Einschränkungen auf. Apps, die diesen Flow verwenden, können sich beispielsweise nicht für einen Benutzer anmelden, der eine mehrstufige Authentifizierung (bedingter Zugriff) durchführen muss. Dadurch kann Ihre Anwendung auch nicht von der einmaligen Anmeldung profitieren.
- The ApplicationID property is required when selecting the Username and Password authentication type. You can register your Microsoft 365 Application using your personal, work, and/or school account.
- Runs: as background service.
- Scenario: unattended and unattended with MFA enabled.
- Application permissions.
- Recommended for unattended executions or when you want to access the Microsoft Graph API as an application (a background service / daemon) without a signed-in user.
-
When registering your application, you must select an application type. For application ID and secret authentication type, use a confidential/web application (which uses OAuth 2.0 client credentials flow).
-
Die entsprechenden API-Berechtigungen müssen für die Azure-Anwendung konfiguriert werden, damit Microsoft 365-Aktivitäten ordnungsgemäß funktionieren (z. B. sollten die Anwendungsberechtigungen
Group.Create
,Group.Read.All
undGroup.ReadWrite.All
für Microsoft Graph konfiguriert werden, wenn Gruppenaktivitäten verwendet werden). -
A single organization can have multiple application (client) IDs for their Microsoft 365 account. Each application (client) ID contains its own permissions and authentication requirements. For example, you and your colleague can both register a Microsoft 365 application in your company's Azure Active Directory with different permissions. Your app can be configured to authorize permissions to interact with files only, while your colleague's app is configured to authorize permissions to interact with files, mail, and calendar. If you enter your application (client) ID into this property and run attended automation, the consent dialogue box would be limited to file permissions (and subsequently, only the Files activities can be used).
- Some activities can't be used with this type of authentication because the corresponding Microsoft Graph API does not support application permissions (e.g. Find Meeting Times).
-
Bei E-Mail-Aktivitäten muss ein Wert für den Parameter Account angegeben werden (d. h. welches Postfach aller Mandantenpostfächer Sie verwenden möchten).
-
Use
Sites.Selected
application permission to allow the application to access just the specific SharePoint site collections rather than all. -
When using this authentication type, the application has access to all mailboxes from your tenant, the reason being that application API permission
Mail.Read
means Read mail in all mailboxes andMail.ReadWrite
means Read and write mail in all mailboxes. One solution is to restrict Application permissions to specific mailboxes, so the application has access only to the specified mailboxes. For more information, see Scoping application permissions to specific Exchange Online mailboxes.
- Runs: as background service.
- Scenario: unattended and unattended with MFA enabled.
- Application permissions.
- When registering your application, you must select an application type. For application ID and certificate authentication type, use a confidential/web application (which uses OAuth 2.0 client credentials flow).
- This authentication mtehod is similar to application ID and secret, but it uses a certificate as a secret instead of a client secret string.
To authenticate using a certificate as a secret, take the following steps:
-
In the the Azure portal:
- Suchen Sie Ihre registrierte Microsoft 365-Anwendung.
-
Wählen Sie Zertifikate und Geheimnisse aus, und laden Sie Ihre Zertifikatsdatei (öffentlicher Schlüssel) hoch. Sie kann einen der folgenden Dateitypen haben:
.cer
,.pem
,.crt
.
- Convert the raw contents of your
.pfx
file representing the certificate to abase64 string
. You can use a web-based tool like Base64.Guru or assign theConvert.ToBase64String(System.IO.File.ReadAllBytes(pfxFilePath))
value to aString
variable. - In the Microsoft 365 Scope activity:
- Set Authentication Type to Application ID and Certificate.
- Legen Sie CertificateAsBase64 auf die base64-Darstellung des Zertifikats fest.
- Wenn für die Verwendung des Zertifikats ein Kennwort erforderlich ist, legen Sie auch den Wert für die Eigenschaft Zertifikatkennwort fest.
Sie können jetzt die neueren Microsoft 365-Aktivitäten über Microsoft 365 Scope auch dann verwenden, wenn Sie nicht über Integration Service verfügen.
The Microsoft 365 activities designed specifically for Integration Service feature a Connection field, which enables you to choose a connection created through an Integration Service connector. When used inside Microsoft 365 Scope, the activities simply inherit the connection information from the Scope.
Microsoft 365 | ||||
---|---|---|---|---|
Cloud | Lokal | |||
Microsoft Office 365-Anwendungsbereich | Integration Service | Microsoft Office 365-Anwendungsbereich | Integration Service | |
Plattformübergreifend | ||||
App-ID und Zertifikat | ||||
App-ID und Geheimschlüssel | ||||
OAuth - Bringen Sie OAuth durch OAuth auf | ||||
OAuth – UiPath App | ||||
Benutzername und Kennwort | ||||
Integrierte Windows-Authentifizierung | ||||
Windows | ||||
App-ID und Zertifikat | ||||
App-ID und Geheimschlüssel | ||||
OAuth - Bringen Sie OAuth durch OAuth auf | ||||
OAuth – UiPath App | ||||
Benutzername und Kennwort | ||||
Integrierte Windows-Authentifizierung |
Es gibt zwei Möglichkeiten, eine Verbindung in der Aktivität Microsoft 365 Scope einzurichten.
Verbindungsmethode | Beschreibung | Vorteile | Nachteile | |
---|---|---|---|---|
Asset Hinweis: Empfohlen.
|
Verwendet ein Orchestrator-Asset, um die Verbindung zusammen mit der Scope-Konfiguration zu speichern. Das Asset hat ein JSON-Format. Bei jeder Verwendung ruft die Aktivität die Konfiguration aus dem Asset ab. Basierend auf der Asset-Konfiguration verhält sich der Scope unterschiedlich; Sie identifiziert den Authentifizierungstyp und blendet nicht benötigte Felder aus. Wenn die Asset-JSON nicht richtig festgelegt ist, wird ein Validierungsfehler ausgelöst. |
Die Aktivitäten profitieren von Suchen zur Entwurfszeit und können Dateien, Ordner, Listen, Bereiche usw. erkennen. Die Verbindung ist leicht übertragbar, da Anmeldeinformationen nicht im Klartext von einem Benutzer an einen anderen weitergegeben werden. Kann von einem Administrator konfiguriert werden. Es ist sicherer, da die Anmeldeinformationen den Studio-Workflow nicht erreichen. |
Erfordert einen fortgeschrittenen Benutzer, um das Asset zu konfigurieren. Für einen Citizen Developer nicht einfach einzurichten. | |
Eigenschaften-Panel |
Verwenden Sie den vorhandenen Eigenschaftenbereich, um die Verbindungsanmeldeinformationen zu konfigurieren. Die Konfiguration kann im Klartext oder über Variablen hinzugefügt werden. |
Einfacher zu verwenden. Die Abwärtskompatibilität bleibt erhalten. | ||
Konfiguration durch Klartext
Hinweis: Nicht empfohlen.
| Konfigurieren Sie den Eigenschaftenbereich mit Nur-Text-Werten. | Die Aktivitäten profitieren von Suchen zur Entwurfszeit und können Dateien, Ordner, Listen, Bereiche usw. erkennen. | Weniger sicher, weil die Anmeldeinformationen in Klartext zwischen Benutzern übergeben werden müssen. | |
Konfiguration über Variablen |
Konfigurieren Sie den Eigenschaftenbereich mit Variablen. |
Mehr Sicherheit, da die Anmeldeinformationen den Studio-Workflow nicht erreichen. | Die Aktivitäten können zur Entwurfszeit keine Ressourcen erkennen. |
{
"CertificateAsBase64": "",
"CertificatePassword": "",
"ClientSecret": "",
"Environment": "Default" | "Global" | "China" | "Germany" | "USGovernment" | "USGovernmentDOD",
"Mode": "interactive" | "integrated" | "uap" | "appidsecret" | "appidcertificate",
"OAuth2AppData": {
"ApplicationId": "",
"TenantId": ""
}
}
{
"CertificateAsBase64": "",
"CertificatePassword": "",
"ClientSecret": "",
"Environment": "Default" | "Global" | "China" | "Germany" | "USGovernment" | "USGovernmentDOD",
"Mode": "interactive" | "integrated" | "uap" | "appidsecret" | "appidcertificate",
"OAuth2AppData": {
"ApplicationId": "",
"TenantId": ""
}
}
{
"CertificateAsBase64": "",
"CertificatePassword": "",
"ClientSecret": "",
"Environment": "Default",
"Mode": "interactive" | "integrated" | "uap" | "appidsecret" | "appidcertificate",
"OAuth2AppData": {
"ApplicationId": "f2f43f65-16a6-4319-91b6-d2a342a88744",
"TenantId": ""
}
}
{
"CertificateAsBase64": "",
"CertificatePassword": "",
"ClientSecret": "",
"Environment": "Default",
"Mode": "interactive" | "integrated" | "uap" | "appidsecret" | "appidcertificate",
"OAuth2AppData": {
"ApplicationId": "f2f43f65-16a6-4319-91b6-d2a342a88744",
"TenantId": ""
}
}
{
"CertificateAsBase64": "",
"CertificatePassword": "",
"ClientSecret": "",
"Environment": "Default",
"Mode": "interactive" | "integrated" | "uap" | "appidsecret" | "appidcertificate",
"OAuth2AppData": {
"ApplicationId": "d47f7253-65ae-58n5-ag04-26109734e6de",
"TenantId": "3ce4ef03-chb1-871f-94b0-345136965f10"
}
}
{
"CertificateAsBase64": "",
"CertificatePassword": "",
"ClientSecret": "",
"Environment": "Default",
"Mode": "interactive" | "integrated" | "uap" | "appidsecret" | "appidcertificate",
"OAuth2AppData": {
"ApplicationId": "d47f7253-65ae-58n5-ag04-26109734e6de",
"TenantId": "3ce4ef03-chb1-871f-94b0-345136965f10"
}
}
Die folgenden Funktionen sind nicht verfügbar, wenn Aktivitäten innerhalb von Microsoft 365 Scope verwendet werden: Trigger, Bindungen und Überschreiben.
Tokenaktualisierung
Es ist kein Dienst zum Aktualisieren Ihrer Verbindungstoken verfügbar, wie der, der im Integration Service verfügbar ist.
If the Authorization Token isn't refreshed for a certain number of days, it expires, and you must re-authenticate. To avoid the expiration of authorization tokens, run a robot with that specific connection. Running an automation with the Scope activity refreshes the authorization token.
- Mit Genehmigungsablauf des Administrators: OAuth 2.0-Client-Anmeldeinformationen werden auf der Microsoft Identity-Plattform genutzt
- Ohne Administratorgenehmigungsflow: Microsoft Identity-Plattform und OAuth 2.0-Autorisierungscodeflow – Microsoft Identity-Plattform
- Überblick
- Delegated permissions versus application permissions
- Multitenant versus single-tenant applications
- Azure environments
- Integration Service connections
- Microsoft 365 Scope connections
- Interaktives Token
- Überblick
- Details
- Integrierte Windows-Authentifizierung (IWA)
- Überblick
- Details
- UsernameAndPassword
- Zusammenfassung
- Details
- Anwendungs-ID und Geheimschlüssel
- Zusammenfassung
- Details
- AnwendungsID und Zertifikat
- Zusammenfassung
- Details
- Using certificates
- How to use Microsoft 365 activities without Integration Service connections
- Über
- Authentication and projects types matrix
- Verbindungsmethoden
- Microsoft 365 Scope asset format
- Einschränkungen