ESC
Type to search...

IndustryData-TimePeriod.ReadWrite.All

Export JSON
Export CSV
Copy URL
Print
ApplicationDelegated Read/Write All Resources

Allows the app to read and write time period definitions without a signed-in user.

Permission data: April 6, 2026 at 4:06 AM UTC
Delegated Access App-Only Access

Permission Details

Application Permission

Manage time period definitions

Allows the app to read and write time period definitions without a signed-in user.

Delegated Permission Admin consent required

Manage time period definitions

Allows the app to read and write time period definitions on behalf of the signed-in user.

Properties

Microsoft Graph beta endpoint-derived-docs

Properties is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.

Property Type Description
dataDomain industryData.inboundDomain The category of data that this flow imports. The possible values are: educationRostering, unknownFutureValue.
displayName String The name of the activity. Inherited from industryDataActivity.
effectiveDateTime DateTimeOffset The start of the time window when the flow is allowed to run. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
expirationDateTime DateTimeOffset The end of the time window when the flow is allowed to run. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
readinessStatus industryData.readinessStatus The state of the activity from its creation through when it is ready to do work. Inherited from industryDataActivity. The possible values are: notReady, ready, failed, disabled, expired, unknownFutureValue.
connections externalConnection collection
id string The unique identifier for an entity. Read-only.

JSON Representation

Microsoft Graph beta endpoint-derived-docs

JSON representation is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.

JSON representation
{
  "@odata.type": "#microsoft.graph.industryData.inboundFlow",
  "dataDomain": "String",
  "displayName": "String",
  "effectiveDateTime": "String (timestamp)",
  "expirationDateTime": "String (timestamp)",
  "readinessStatus": "String"
}

Relationships

Microsoft Graph beta endpoint-derived-docs

Relationships is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.

Relationship Type Description
dataConnector industryData.industryDataConnector The data connector to the source system from where this flow gets its data.
year industryData.yearTimePeriodDefinition The year associated to the data that this flow brings in.
connections externalConnection collection Related connections data exposed by this resource.

Graph Methods

Delegated access App-only access
Exact Microsoft Learn match

Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.

No API methods available for this version.

Exact Microsoft Learn match

Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.

Methods
GET /external/industryData/inboundFlows/{inboundFlowId}/year
GET /external/industryData/years
GET /external/industryData/years/{yearTimePeriodDefinitionId}
POST /external/industryData/years
PATCH /external/industryData/years/{yearTimePeriodDefinitionId}
DELETE /external/industryData/years/{yearTimePeriodDefinitionId}
Exact Microsoft Learn PowerShell match

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 docs
Exact Microsoft Learn PowerShell match

Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.

Commands
Get-MgBetaExternalIndustryDataYear /external/industryData/years
List yearTimePeriodDefinitions
Get-MgBetaExternalIndustryDataYear /external/industryData/years/{yearTimePeriodDefinitionId}
Get yearTimePeriodDefinition
New-MgBetaExternalIndustryDataYear /external/industryData/years
Create yearTimePeriodDefinition
Remove-MgBetaExternalIndustryDataYear /external/industryData/years/{yearTimePeriodDefinitionId}
Delete yearTimePeriodDefinition
Update-MgBetaExternalIndustryDataYear /external/industryData/years/{yearTimePeriodDefinitionId}
Update yearTimePeriodDefinition

Code Examples

C# / .NET SDK
Create yearTimePeriodDefinition
// Code snippets are only available for the latest version. Current version is 5.x

// Dependencies
using Microsoft.Graph.Beta.Models.IndustryData;

var requestBody = new YearTimePeriodDefinition
{
	DisplayName = "Fiscal Year 2022",
	EndDate = new Date(DateTime.Parse("2023-06-15")),
	StartDate = new Date(DateTime.Parse("2022-09-01")),
	Year = new YearReferenceValue
	{
		Code = "2022",
	},
};

// 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.Years.PostAsync(requestBody);
JavaScript
Create yearTimePeriodDefinition
const options = {
	authProvider,
};

const client = Client.init(options);

const yearTimePeriodDefinition = {
  displayName: 'Fiscal Year 2022',
  endDate: '2023-06-15',
  startDate: '2022-09-01',
  year: {
    code: '2022'
  }
};

await client.api('/external/industryData/years')
	.version('beta')
	.post(yearTimePeriodDefinition);
PowerShell
Create yearTimePeriodDefinition
Import-Module Microsoft.Graph.Beta.Search

$params = @{
	displayName = "Fiscal Year 2022"
	endDate = "2023-06-15"
	startDate = "2022-09-01"
	year = @{
		code = "2022"
	}
}

New-MgBetaExternalIndustryDataYear -BodyParameter $params
Python
Create yearTimePeriodDefinition
# 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.year_time_period_definition import YearTimePeriodDefinition
from msgraph_beta.generated.models.industry_data.year_reference_value import YearReferenceValue
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = YearTimePeriodDefinition(
	display_name = "Fiscal Year 2022",
	end_date = "2023-06-15",
	start_date = "2022-09-01",
	year = YearReferenceValue(
		code = "2022",
	),
)

result = await graph_client.external.industry_data.years.post(request_body)

App Registration

1

Navigate to Azure Portal

Go to App registrations in Microsoft Entra admin center

2

Add API Permission

Select your app → API permissions → Add a permission → Microsoft Graph

3

Select Permission Type

Choose Application permissions or delegated permissions and search for IndustryData-TimePeriod.ReadWrite.All

4

Grant Admin Consent

Application permissions always require admin consent.