class Configuration
A configuration class that specifies additional application IDs allowed to manage and index content in an externalConnection within the Office365 environment.
/tf/active/vicechatdev/SPFCsync/venv/lib64/python3.11/site-packages/office365/search/external/configuration.py
4 - 8
simple
Purpose
This class serves as a data container (value object) for managing configuration settings related to external connections in Office365. It inherits from ClientValue, which is part of the Office365 runtime framework, and is used to specify which application IDs have permissions to manage external connections and index their content. This is typically used in Microsoft Graph API scenarios for managing external data sources.
Source Code
class Configuration(ClientValue):
"""
Specifies additional application IDs that are allowed to manage the externalConnection and
to index content in a externalConnection.
"""
Parameters
| Name | Type | Default | Kind |
|---|---|---|---|
bases |
ClientValue | - |
Parameter Details
bases: Inherits from ClientValue, which is a base class from the Office365 runtime that provides serialization and client-side value handling capabilities for Office365 API interactions
Return Value
Instantiation returns a Configuration object that can be used to specify application IDs for external connection management. The object inherits serialization capabilities from ClientValue for use with Office365 API calls.
Class Interface
Dependencies
office365
Required Imports
from office365.runtime.client_value import ClientValue
Usage Example
from office365.runtime.client_value import ClientValue
from office365.external.connections.configuration import Configuration
# Instantiate a Configuration object
config = Configuration()
# The Configuration object would typically be used as part of
# external connection setup in Office365/Microsoft Graph
# Example context (actual usage depends on parent API):
# external_connection.configuration = config
# external_connection.update().execute_query()
Best Practices
- This class is a data container that inherits from ClientValue, so it should be used as part of the Office365 SDK's object model
- Typically instantiated and populated with application IDs before being assigned to an external connection object
- Should be used in conjunction with proper Office365 authentication and authorization
- The class follows the Office365 SDK pattern where ClientValue objects are serialized for API communication
- Do not modify inherited ClientValue methods unless extending functionality
- Ensure proper permissions are configured in Azure AD/Microsoft 365 admin center for the application IDs being specified
Tags
Similar Components
AI-powered semantic similarity - components with related functionality:
-
class ExternalConnection 68.2% similar
-
class External 66.4% similar
-
class PublicClientApplication 62.9% similar
-
class Certification 60.1% similar
-
class SpaApplication 59.3% similar