-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23648 from microsoftgraph/revert-23633-jaimb/Intu…
…neReleaseRemoveHiddenAPIs Revert "[Intune Graph Document Management] - [2402] - Clear Extra/ Additional APIs Docs"
- Loading branch information
Showing
54 changed files
with
4,205 additions
and
0 deletions.
There are no files selected for viewing
98 changes: 98 additions & 0 deletions
98
...oiddeviceownerenrollmentprofile-getdefaultteamsdevicenongmsenrollmentprofile.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
--- | ||
title: "getDefaultTeamsDeviceNonGmsEnrollmentProfile action" | ||
description: "Intune Androidforwork Androiddeviceownerenrollmentprofile Getdefaultteamsdevicenongmsenrollmentprofile Api ." | ||
author: "jaiprakashmb" | ||
localization_priority: Normal | ||
ms.prod: "intune" | ||
doc_type: apiPageType | ||
--- | ||
|
||
# getDefaultTeamsDeviceNonGmsEnrollmentProfile action | ||
|
||
Namespace: microsoft.graph | ||
|
||
> **Important:** Microsoft Graph APIs under the /beta version are subject to change; production use is not supported. | ||
> **Note:** The Microsoft Graph API for Intune requires an [active Intune license](https://go.microsoft.com/fwlink/?linkid=839381) for the tenant. | ||
|
||
|
||
## Permissions | ||
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). | ||
|
||
|Permission type|Permissions (from least to most privileged)| | ||
|:---|:---| | ||
|Delegated (work or school account)|DeviceManagementConfiguration.Read.All, DeviceManagementConfiguration.ReadWrite.All| | ||
|Delegated (personal Microsoft account)|Not supported.| | ||
|Application|DeviceManagementConfiguration.Read.All, DeviceManagementConfiguration.ReadWrite.All| | ||
|
||
## HTTP Request | ||
<!-- { | ||
"blockType": "ignored" | ||
} | ||
--> | ||
``` http | ||
POST /deviceManagement/androidDeviceOwnerEnrollmentProfiles/getDefaultTeamsDeviceNonGmsEnrollmentProfile | ||
``` | ||
|
||
## Request headers | ||
|Header|Value| | ||
|:---|:---| | ||
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).| | ||
|Accept|application/json| | ||
|
||
## Request body | ||
In the request body, supply JSON representation of the parameters. | ||
|
||
The following table shows the parameters that can be used with this action. | ||
|
||
|Property|Type|Description| | ||
|:---|:---|:---| | ||
|enrollmentMode|[androidDeviceOwnerEnrollmentMode](../resources/intune-androidforwork-androiddeviceownerenrollmentmode.md)|| | ||
|devicePublicKey|String|| | ||
|userId|String|| | ||
|
||
|
||
|
||
## Response | ||
If successful, this action returns a `200 OK` response code and a [enrollmentProfileForNonGmsTeamsDevice](../resources/intune-androidforwork-enrollmentprofilefornongmsteamsdevice.md) in the response body. | ||
|
||
## Example | ||
|
||
### Request | ||
Here is an example of the request. | ||
``` http | ||
POST https://graph.microsoft.com/beta/deviceManagement/androidDeviceOwnerEnrollmentProfiles/getDefaultTeamsDeviceNonGmsEnrollmentProfile | ||
Content-type: application/json | ||
Content-length: 133 | ||
{ | ||
"enrollmentMode": "corporateOwnedFullyManaged", | ||
"devicePublicKey": "Device Public Key value", | ||
"userId": "User Id value" | ||
} | ||
``` | ||
|
||
### Response | ||
Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call. | ||
``` http | ||
HTTP/1.1 200 OK | ||
Content-Type: application/json | ||
Content-Length: 505 | ||
{ | ||
"value": { | ||
"@odata.type": "microsoft.graph.enrollmentProfileForNonGmsTeamsDevice", | ||
"accountId": "Account Id value", | ||
"profileId": "Profile Id value", | ||
"tokenExpirationDateTime": "2016-12-31T23:59:54.0590989-08:00", | ||
"encryptedProvisioningPackageExtras": { | ||
"@odata.type": "microsoft.graph.encryptedProvisioningPackageExtras", | ||
"encryptedData": "ZW5jcnlwdGVkRGF0YQ==", | ||
"encryptedSymmetricKey": "ZW5jcnlwdGVkU3ltbWV0cmljS2V5", | ||
"iv": "aXY=" | ||
} | ||
} | ||
} | ||
``` |
98 changes: 98 additions & 0 deletions
98
api-reference/beta/api/intune-devices-manageddevice-createquery.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
--- | ||
title: "createQuery action" | ||
description: "Allows user to send Intune Pivot device query to a managed device" | ||
author: "jaiprakashmb" | ||
localization_priority: Normal | ||
ms.prod: "intune" | ||
doc_type: apiPageType | ||
--- | ||
|
||
# createQuery action | ||
|
||
Namespace: microsoft.graph | ||
|
||
> **Important:** Microsoft Graph APIs under the /beta version are subject to change; production use is not supported. | ||
> **Note:** The Microsoft Graph API for Intune requires an [active Intune license](https://go.microsoft.com/fwlink/?linkid=839381) for the tenant. | ||
Allows user to send Intune Pivot device query to a managed device | ||
|
||
## Permissions | ||
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). | ||
|
||
|Permission type|Permissions (from least to most privileged)| | ||
|:---|:---| | ||
|Delegated (work or school account)|DeviceManagementConfiguration.Read.All, DeviceManagementManagedDevices.Read.All| | ||
|Delegated (personal Microsoft account)|Not supported.| | ||
|Application|DeviceManagementConfiguration.Read.All, DeviceManagementManagedDevices.Read.All| | ||
|
||
## HTTP Request | ||
<!-- { | ||
"blockType": "ignored" | ||
} | ||
--> | ||
``` http | ||
POST /deviceManagement/managedDevices/{managedDeviceId}/createQuery | ||
POST /deviceManagement/comanagedDevices/{managedDeviceId}/createQuery | ||
POST /deviceManagement/deviceHealthScripts/{deviceHealthScriptId}/deviceRunStates/{deviceHealthScriptDeviceStateId}/managedDevice/createQuery | ||
POST /deviceManagement/deviceManagementScripts/{deviceManagementScriptId}/deviceRunStates/{deviceManagementScriptDeviceStateId}/managedDevice/createQuery | ||
POST /deviceManagement/deviceComplianceScripts/{deviceComplianceScriptId}/deviceRunStates/{deviceComplianceScriptDeviceStateId}/managedDevice/createQuery | ||
POST /deviceManagement/deviceManagementScripts/{deviceManagementScriptId}/deviceRunStates/{deviceManagementScriptDeviceStateId}/managedDevice/users/{userId}/managedDevices/{managedDeviceId}/createQuery | ||
POST /deviceManagement/deviceManagementScripts/{deviceManagementScriptId}/deviceRunStates/{deviceManagementScriptDeviceStateId}/managedDevice/detectedApps/{detectedAppId}/managedDevices/{managedDeviceId}/createQuery | ||
``` | ||
|
||
## Request headers | ||
|Header|Value| | ||
|:---|:---| | ||
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).| | ||
|Accept|application/json| | ||
|
||
## Request body | ||
In the request body, supply JSON representation of the parameters. | ||
|
||
The following table shows the parameters that can be used with this action. | ||
|
||
|Property|Type|Description| | ||
|:---|:---|:---| | ||
|query|String|| | ||
|
||
|
||
|
||
## Response | ||
If successful, this action returns a `200 OK` response code and a [deviceQueryResult](../resources/intune-devices-devicequeryresult.md) in the response body. | ||
|
||
## Example | ||
|
||
### Request | ||
Here is an example of the request. | ||
``` http | ||
POST https://graph.microsoft.com/beta/deviceManagement/managedDevices/{managedDeviceId}/createQuery | ||
Content-type: application/json | ||
Content-length: 30 | ||
{ | ||
"query": "Query value" | ||
} | ||
``` | ||
|
||
### Response | ||
Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call. | ||
``` http | ||
HTTP/1.1 200 OK | ||
Content-Type: application/json | ||
Content-Length: 385 | ||
{ | ||
"value": { | ||
"@odata.type": "#microsoft.graph.deviceQueryResult", | ||
"id": "71f84a70-4a70-71f8-704a-f871704af871", | ||
"status": "notified", | ||
"createdDateTime": "2017-01-01T00:02:43.5775965-08:00", | ||
"lastModifiedDateTime": "2017-01-01T00:00:35.1329464-08:00", | ||
"returnCode": 10, | ||
"errorMessage": "Error Message value", | ||
"results": "Results value" | ||
} | ||
} | ||
``` |
87 changes: 87 additions & 0 deletions
87
api-reference/beta/api/intune-rbac-operationapprovalrequest-approve.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
--- | ||
title: "approve action" | ||
description: "Approves the requested instance of an operationApprovalRequest." | ||
author: "jaiprakashmb" | ||
localization_priority: Normal | ||
ms.prod: "intune" | ||
doc_type: apiPageType | ||
--- | ||
|
||
# approve action | ||
|
||
Namespace: microsoft.graph | ||
|
||
> **Important:** Microsoft Graph APIs under the /beta version are subject to change; production use is not supported. | ||
> **Note:** The Microsoft Graph API for Intune requires an [active Intune license](https://go.microsoft.com/fwlink/?linkid=839381) for the tenant. | ||
Approves the requested instance of an operationApprovalRequest. | ||
|
||
[!INCLUDE [national-cloud-support](../../includes/all-clouds.md)] | ||
|
||
## Permissions | ||
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). | ||
|
||
|Permission type|Permissions (from least to most privileged)| | ||
|:---|:---| | ||
|Delegated (work or school account)|DeviceManagementConfiguration.Read.All, DeviceManagementRBAC.Read.All| | ||
|Delegated (personal Microsoft account)|Not supported.| | ||
|Application|DeviceManagementConfiguration.Read.All, DeviceManagementRBAC.Read.All| | ||
|
||
## HTTP Request | ||
<!-- { | ||
"blockType": "ignored" | ||
} | ||
--> | ||
``` http | ||
POST /deviceManagement/operationApprovalRequests/{operationApprovalRequestId}/approve | ||
``` | ||
|
||
## Request headers | ||
|Header|Value| | ||
|:---|:---| | ||
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).| | ||
|Accept|application/json| | ||
|
||
## Request body | ||
In the request body, supply JSON representation of the parameters. | ||
|
||
The following table shows the parameters that can be used with this action. | ||
|
||
|Property|Type|Description| | ||
|:---|:---|:---| | ||
|justification|String|Indicates the justification for approving the request. Maximum length of justification is 1024 characters. For example: 'Approved per Change 23423 - needed for Feb 2023 application baseline updates.'| | ||
|approvalSource|[operationApprovalSource](../resources/intune-rbac-operationapprovalsource.md)|Indicates the source of the action on the approval request. Possible values are: `unknown`, `adminConsole`, `email`. Default value is `unknown`.| | ||
|
||
|
||
|
||
## Response | ||
If successful, this action returns a `200 OK` response code and a String in the response body. | ||
|
||
## Example | ||
|
||
### Request | ||
Here is an example of the request. | ||
``` http | ||
POST https://graph.microsoft.com/beta/deviceManagement/operationApprovalRequests/{operationApprovalRequestId}/approve | ||
Content-type: application/json | ||
Content-length: 83 | ||
{ | ||
"justification": "Justification value", | ||
"approvalSource": "adminConsole" | ||
} | ||
``` | ||
|
||
### Response | ||
Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call. | ||
``` http | ||
HTTP/1.1 200 OK | ||
Content-Type: application/json | ||
Content-Length: 32 | ||
{ | ||
"value": "Approve value" | ||
} | ||
``` |
87 changes: 87 additions & 0 deletions
87
api-reference/beta/api/intune-rbac-operationapprovalrequest-cancelapproval.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
--- | ||
title: "cancelApproval action" | ||
description: "Cancels an already approved instance of an operationApprovalRequest." | ||
author: "jaiprakashmb" | ||
localization_priority: Normal | ||
ms.prod: "intune" | ||
doc_type: apiPageType | ||
--- | ||
|
||
# cancelApproval action | ||
|
||
Namespace: microsoft.graph | ||
|
||
> **Important:** Microsoft Graph APIs under the /beta version are subject to change; production use is not supported. | ||
> **Note:** The Microsoft Graph API for Intune requires an [active Intune license](https://go.microsoft.com/fwlink/?linkid=839381) for the tenant. | ||
Cancels an already approved instance of an operationApprovalRequest. | ||
|
||
[!INCLUDE [national-cloud-support](../../includes/all-clouds.md)] | ||
|
||
## Permissions | ||
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). | ||
|
||
|Permission type|Permissions (from least to most privileged)| | ||
|:---|:---| | ||
|Delegated (work or school account)|DeviceManagementConfiguration.Read.All, DeviceManagementRBAC.Read.All| | ||
|Delegated (personal Microsoft account)|Not supported.| | ||
|Application|DeviceManagementConfiguration.Read.All, DeviceManagementRBAC.Read.All| | ||
|
||
## HTTP Request | ||
<!-- { | ||
"blockType": "ignored" | ||
} | ||
--> | ||
``` http | ||
POST /deviceManagement/operationApprovalRequests/{operationApprovalRequestId}/cancelApproval | ||
``` | ||
|
||
## Request headers | ||
|Header|Value| | ||
|:---|:---| | ||
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).| | ||
|Accept|application/json| | ||
|
||
## Request body | ||
In the request body, supply JSON representation of the parameters. | ||
|
||
The following table shows the parameters that can be used with this action. | ||
|
||
|Property|Type|Description| | ||
|:---|:---|:---| | ||
|justification|String|Indicates the justification for cancellation of a request that has already been approved. Maximum length of justification is 1024 characters. For example: 'Cancelled - Change 23423 no longer needed.'| | ||
|approvalSource|[operationApprovalSource](../resources/intune-rbac-operationapprovalsource.md)|Indicates the source of the action on the approval request. Possible values are: `unknown`, `adminConsole`, `email`. Default value is `unknown`.| | ||
|
||
|
||
|
||
## Response | ||
If successful, this action returns a `200 OK` response code and a String in the response body. | ||
|
||
## Example | ||
|
||
### Request | ||
Here is an example of the request. | ||
``` http | ||
POST https://graph.microsoft.com/beta/deviceManagement/operationApprovalRequests/{operationApprovalRequestId}/cancelApproval | ||
Content-type: application/json | ||
Content-length: 83 | ||
{ | ||
"justification": "Justification value", | ||
"approvalSource": "adminConsole" | ||
} | ||
``` | ||
|
||
### Response | ||
Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call. | ||
``` http | ||
HTTP/1.1 200 OK | ||
Content-Type: application/json | ||
Content-Length: 40 | ||
{ | ||
"value": "Cancel Approval value" | ||
} | ||
``` |
Oops, something went wrong.