IndustryData-DataConnector.ReadWrite.All
Allows the app to read and write data connectors without a signed-in user.
Permission Details
Manage data connector definitions
Allows the app to read and write data connectors without a signed-in user.
eda0971c-482e-4345-b28f-69c309cb8a34
Manage data connector definitions
Allows the app to read and write data connectors on behalf of the signed-in user.
5ce933ac-3997-4280-aed0-cc072e5c062a
Properties
Properties is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
| Property | Type | Description |
|---|---|---|
displayName |
String |
The name of the data connector. Inherited from industryDataConnector. |
fileFormat |
industryData.fileFormatReferenceValue |
The file format that external systems can upload using this connector. |
connections |
externalConnection collection |
|
id |
string |
The unique identifier for an entity. Read-only. |
JSON Representation
JSON representation is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
{
"@odata.type": "#microsoft.graph.industryData.azureDataLakeConnector",
"displayName": "String",
"fileFormat": {
"@odata.type": "microsoft.graph.industryData.fileFormatReferenceValue"
}
}
Relationships
Relationships is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
| Relationship | Type | Description |
|---|---|---|
sourceSystem |
industryData.sourceSystemDefinition |
The sourceSystemDefinition object that this connector is connected to. Inherited from industryDataConnector |
connections |
externalConnection collection |
Related connections data exposed by this resource. |
Graph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
No API methods available for this version.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
No deterministic PowerShell command map is available for this permission.
Browse PowerShell docsMicrosoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Code Examples
// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.Beta.Models.IndustryData;
var requestBody = new AzureDataLakeConnector
{
OdataType = "#microsoft.graph.industryData.azureDataLakeConnector",
DisplayName = "CSV connector",
FileFormat = new FileFormatReferenceValue
{
OdataType = "microsoft.graph.industryData.fileFormatReferenceValue",
Code = "schoolDataSyncV1",
},
AdditionalData = new Dictionary<string, object>
{
{
"[email protected]" , "https://graph.microsoft.com/beta/external/industryData/sourceSystems('aa050107-5784-4a8e-1876-08daddab21bc')"
},
},
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.External.IndustryData.DataConnectors.PostAsync(requestBody);
const options = {
authProvider,
};
const client = Client.init(options);
let fileUploadSession = await client.api('/external/industryData/dataConnectors/51dca0a0-85f6-4478-f526-08daddab2271/microsoft.graph.industryData.azureDataLakeConnector/getUploadSession')
.version('beta')
.get();
Import-Module Microsoft.Graph.Beta.Search
$params = @{
"@odata.type" = "#microsoft.graph.industryData.azureDataLakeConnector"
displayName = "CSV connector"
"[email protected]" = "https://graph.microsoft.com/beta/external/industryData/sourceSystems('aa050107-5784-4a8e-1876-08daddab21bc')"
fileFormat = @{
"@odata.type" = "microsoft.graph.industryData.fileFormatReferenceValue"
code = "schoolDataSyncV1"
}
}
New-MgBetaExternalIndustryDataConnector -BodyParameter $params
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph_beta import GraphServiceClient
from msgraph_beta.generated.models.industry_data.azure_data_lake_connector import AzureDataLakeConnector
from msgraph_beta.generated.models.industry_data.file_format_reference_value import FileFormatReferenceValue
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = AzureDataLakeConnector(
odata_type = "#microsoft.graph.industryData.azureDataLakeConnector",
display_name = "CSV connector",
file_format = FileFormatReferenceValue(
odata_type = "microsoft.graph.industryData.fileFormatReferenceValue",
code = "schoolDataSyncV1",
),
additional_data = {
"source_system@odata_bind" : "https://graph.microsoft.com/beta/external/industryData/sourceSystems('aa050107-5784-4a8e-1876-08daddab21bc')",
}
)
result = await graph_client.external.industry_data.data_connectors.post(request_body)
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Application permissions or delegated permissions and search for IndustryData-DataConnector.ReadWrite.All
Grant Admin Consent
Application permissions always require admin consent.