ESC
Type to search...

IndustryData-ReferenceDefinition.ReadWrite.All

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

Allows the app to read and write reference 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 reference definitions

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

Delegated Permission Admin consent required

Manage reference definitions

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

Properties

Microsoft Graph beta exact-category-docs

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

Property Type Description
code String The code value for the definition that must be unique within the referenceType.
createdDateTime DateTimeOffsetRead-only The date and time when the definition was created. 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.
displayName StringNullable A human-readable representation of the reference code value for display in a user interface.
isDisabled Boolean Indicates whether the definition is disabled.
lastModifiedDateTime DateTimeOffsetRead-only The date and time when the definition was most recently changed. 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.
referenceType String The categorical type for a collection of enumerated values.
sortIndex Int32 The index that specifies the order in which to present the definition to the user. Must be unique within the referenceType.
source StringRead-only The standards body or organization source which defined the code.
id string The unique identifier for an entity. Read-only.

JSON Representation

Microsoft Graph beta exact-category-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.referenceDefinition",
  "code": "String",
  "createdDateTime": "String (timestamp)",
  "displayName": "String",
  "isDisabled": "Boolean",
  "lastModifiedDateTime": "String (timestamp)",
  "referenceType": "String",
  "sortIndex": "Int32",
  "source": "String"
}

Relationships

Relationships metadata is not available for this permission mapping.

View resource documentation

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/referenceDefinitions
GET /external/industryData/referenceDefinitions/{referenceDefinitionId}
POST /external/industryData/referenceDefinitions
PATCH /external/industryData/referenceDefinitions/{referenceDefinitionId}
DELETE /external/industryData/referenceDefinitions/{referenceDefinitionId}
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-MgBetaExternalIndustryDataReferenceDefinition /external/industryData/referenceDefinitions
List referenceDefinitions
Get-MgBetaExternalIndustryDataReferenceDefinition /external/industryData/referenceDefinitions/{referenceDefinitionId}
Get referenceDefinition
New-MgBetaExternalIndustryDataReferenceDefinition /external/industryData/referenceDefinitions
Create referenceDefinition
Remove-MgBetaExternalIndustryDataReferenceDefinition /external/industryData/referenceDefinitions/{referenceDefinitionId}
Delete referenceDefinition
Update-MgBetaExternalIndustryDataReferenceDefinition /external/industryData/referenceDefinitions/{referenceDefinitionId}
Update referenceDefinition

Code Examples

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

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

var requestBody = new ReferenceDefinition
{
	OdataType = "#microsoft.graph.industryData.referenceDefinition",
	ReferenceType = "RefGradeLevel",
	Code = "TestGrade",
	IsDisabled = false,
	SortIndex = 300,
	DisplayName = "New Test Grade Level",
};

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

const client = Client.init(options);

const referenceDefinition = {
  '@odata.type': '#microsoft.graph.industryData.referenceDefinition',
  referenceType: 'RefGradeLevel',
  code: 'TestGrade',
  isDisabled: false,
  sortIndex: 300,
  displayName: 'New Test Grade Level'
};

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

$params = @{
	"@odata.type" = "#microsoft.graph.industryData.referenceDefinition"
	referenceType = "RefGradeLevel"
	code = "TestGrade"
	isDisabled = $false
	sortIndex = 300
	displayName = "New Test Grade Level"
}

New-MgBetaExternalIndustryDataReferenceDefinition -BodyParameter $params
Python
Create referenceDefinition
# 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.reference_definition import ReferenceDefinition
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = ReferenceDefinition(
	odata_type = "#microsoft.graph.industryData.referenceDefinition",
	reference_type = "RefGradeLevel",
	code = "TestGrade",
	is_disabled = False,
	sort_index = 300,
	display_name = "New Test Grade Level",
)

result = await graph_client.external.industry_data.reference_definitions.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-ReferenceDefinition.ReadWrite.All

4

Grant Admin Consent

Application permissions always require admin consent.