Microsoft Office 365¶
The Microsoft Office 365 connector is a Palantir-provided driver for Microsoft Office 365.
To create a new Microsoft Office 365 source, follow the standard setup flow for Palantir-provided drivers, then use the sections below for Microsoft Office 365-specific configuration and networking. For the complete property reference, see the official Microsoft Office 365 driver documentation ↗.
Configuration¶
The properties below are mandatory or recommended.
| Property | Required? | Description | Default |
|---|---|---|---|
DefaultGroups ↗ |
Mandatory | Determines the default group context when accessing group-scoped resources in Microsoft Office 365. | CurrentUser |
DefaultUser ↗ |
Mandatory | Determines the default user context when accessing user-scoped resources in Microsoft Office 365. | CurrentUser |
MessageContentType ↗ |
Mandatory | Determines whether to return messages in HTML format or as text. | html |
AuthScheme ↗ |
Recommended | Specifies the type of authentication to use when connecting to Microsoft Office 365. If this property is left blank, the default authentication is used. | AzureServicePrincipal |
AzureTenant ↗ |
Recommended | Identifies the Microsoft Office 365 tenant being used to access data. Accepts either the tenant's domain name (for example, contoso.onmicrosoft.com ) or its directory (tenant) ID. | — |
GroupId ↗ |
Recommended | Specifies the Id of a Microsoft Office 365 group whose data you want to access. | — |
InitiateOAuth ↗ |
Recommended | Specifies the process for obtaining or refreshing the OAuth access token, which maintains user access while an authenticated, authorized user is working. | GETANDREFRESH |
OAuthClientId ↗ |
Recommended | Specifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication. | — |
OAuthClientSecret ↗ |
Recommended | Specifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.) | — |
UserId ↗ |
Recommended | Specifies the Id of a Microsoft Office 365 user whose data you want to access. | — |
Networking¶
The table below lists the domains that the source needs to be able to access in order to successfully run.
For each domain, add a corresponding egress policy. If the source is hosted on-premises and not directly reachable from Foundry, use an agent proxy egress policy instead; the agent host itself must also be able to reach the listed domains. See using an agent as a proxy for details.
| Domain | Required |
|---|---|
| graph.microsoft.com | If AzureEnvironment=GLOBAL (default) |
| login.microsoftonline.com | If AuthScheme=AzureAD (default), AzureServicePrincipal, AzureServicePrincipalCert AND AzureEnvironment=GLOBAL |
| microsoftgraph.chinacloudapi.cn | If AzureEnvironment=CHINA |
| login.chinacloudapi.cn | If AuthScheme=AzureAD (default), AzureServicePrincipal , AzureServicePrincipalCert AND AzureEnvironment=CHINA |
| graph.microsoft.us | If AzureEnvironment=USGOVT |
| login.microsoftonline.us | If AuthScheme=AzureAD (default), AzureServicePrincipal, AzureServicePrincipalCert AND AzureEnvironment=USGOVT or USGOVTDOD |
| dod-graph.microsoft.us | If AzureEnvironment=USGOVTDOD |
中文翻译¶
Microsoft Office 365¶
Microsoft Office 365 连接器是 Palantir 提供的用于 Microsoft Office 365 的驱动程序。
要创建新的 Microsoft Office 365 数据源,请遵循Palantir 提供驱动程序的标准设置流程,然后使用以下各节进行 Microsoft Office 365 特定的配置和网络设置。有关完整的属性参考,请参阅官方 Microsoft Office 365 驱动程序文档 ↗。
配置¶
以下属性为必填或推荐设置。
| 属性 | 是否必填 | 描述 | 默认值 |
|---|---|---|---|
DefaultGroups ↗ |
必填 | 确定在 Microsoft Office 365 中访问组范围资源时的默认组上下文。 | CurrentUser |
DefaultUser ↗ |
必填 | 确定在 Microsoft Office 365 中访问用户范围资源时的默认用户上下文。 | CurrentUser |
MessageContentType ↗ |
必填 | 确定返回消息时使用 HTML 格式还是纯文本格式。 | html |
AuthScheme ↗ |
推荐 | 指定连接到 Microsoft Office 365 时使用的身份验证类型。如果此属性留空,则使用默认身份验证。 | AzureServicePrincipal |
AzureTenant ↗ |
推荐 | 标识用于访问数据的 Microsoft Office 365 租户。接受租户域名(例如 contoso.onmicrosoft.com)或其目录(租户)ID。 | — |
GroupId ↗ |
推荐 | 指定要访问其数据的 Microsoft Office 365 组的 ID。 | — |
InitiateOAuth ↗ |
推荐 | 指定获取或刷新 OAuth 访问令牌的过程,该令牌用于在已认证的授权用户工作时维持其访问权限。 | GETANDREFRESH |
OAuthClientId ↗ |
推荐 | 指定分配给自定义 OAuth 应用程序的客户端 ID(也称为消费者密钥)。此 ID 用于在身份验证过程中向 OAuth 授权服务器标识应用程序。 | — |
OAuthClientSecret ↗ |
推荐 | 指定分配给自定义 OAuth 应用程序的客户端密钥。此机密值用于向 OAuth 授权服务器验证应用程序的身份。(仅限自定义 OAuth 应用程序。) | — |
UserId ↗ |
推荐 | 指定要访问其数据的 Microsoft Office 365 用户的 ID。 | — |
网络设置¶
下表列出了数据源为成功运行而需要能够访问的域名。
对于每个域名,请添加相应的出站策略。如果数据源部署在本地且无法从 Foundry 直接访问,请改用代理出站策略;代理主机本身也必须能够访问列出的域名。有关详细信息,请参阅使用代理作为代理服务器。
| 域名 | 必需条件 |
|---|---|
| graph.microsoft.com | 如果 AzureEnvironment=GLOBAL(默认值) |
| login.microsoftonline.com | 如果 AuthScheme=AzureAD(默认值)、AzureServicePrincipal、AzureServicePrincipalCert 且 AzureEnvironment=GLOBAL |
| microsoftgraph.chinacloudapi.cn | 如果 AzureEnvironment=CHINA |
| login.chinacloudapi.cn | 如果 AuthScheme=AzureAD(默认值)、AzureServicePrincipal、AzureServicePrincipalCert 且 AzureEnvironment=CHINA |
| graph.microsoft.us | 如果 AzureEnvironment=USGOVT |
| login.microsoftonline.us | 如果 AuthScheme=AzureAD(默认值)、AzureServicePrincipal、AzureServicePrincipalCert 且 AzureEnvironment=USGOVT 或 USGOVTDOD |
| dod-graph.microsoft.us | 如果 AzureEnvironment=USGOVTDOD |