Skip to content

Commit b4e1054

Browse files
committed
Merge branch 'v-rmanda/206396/Insights_adding_missing_files_to_fix_warnings' of https://github.com/microsoftgraph/microsoft-graph-docs into v-rmanda/206396/Insights_adding_missing_files_to_fix_warnings
2 parents 8597253 + 164ae63 commit b4e1054

File tree

238 files changed

+4393
-670
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

238 files changed

+4393
-670
lines changed

api-reference/beta/api/appmanagementpolicy-post.md

Lines changed: 40 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ POST /policies/appManagementPolicies
4343

4444
> [!IMPORTANT]
4545
> Service principals with a createdDateTime `null` are treated as having being created on 01/01/2019.
46+
4647
## Request body
4748

4849
In the request body, supply a JSON representation of the [appManagementPolicy](../resources/appmanagementpolicy.md) object.
@@ -53,7 +54,7 @@ You can specify the following properties when creating an **appManagementPolicy*
5354
| :----------- | :---------------------------------------------------------- | :--------------------------------------------------------------------- |
5455
| displayName | String | The display name of the policy. Required. |
5556
| description | String | The description of the policy. Required. |
56-
| isEnabled | Boolean | Denotes whether the policy is enabled. Optional. |
57+
| isEnabled | Boolean | Denotes whether the policy is enabled. Optional. |
5758
| restrictions | [appManagementConfiguration](../resources/appManagementConfiguration.md) | Restrictions that apply to an application or service principal object. Optional. |
5859

5960
## Response
@@ -67,9 +68,10 @@ If successful, this method returns a `201 Created` response code with the new [a
6768
The following example shows a request. This request created an app management policy with the following settings:
6869

6970
- Enables the policy.
70-
- Blocks creating of new passwords for applications and service principals created on or after 2019-10-19 at 10:37 AM UTC time.
71-
- Enforces lifetime on password secrets and key credentials for applications created on or after 2014-10-19 at 10:37 AM UTC time.
72-
- Limits password secrets for apps and service principals created after 2019-10-19 at 10:37 AM UTC time to less than 4 days, 12 hours, 30 minutes and 5 seconds.
71+
- Blocks creating of new passwords for applications and service principals created on or after October 19th 2019 at 10:37 AM UTC time.
72+
- Limits password secrets for apps and service principals created after October 19th 2014 at 10:37 AM UTC time to less than 90 days.
73+
- Disables the nonDefaultUriAddition restriction. This means that apps with this policy applied to them can add new nondefault identifier URIs to their apps, even if the tenant default policy typically blocks it.
74+
- Doesn't specify any other restrictions. This means that the behavior for those restrictions on apps/service principals with this policy applied falls back to however the tenant default policy is configured.
7375

7476

7577
# [HTTP](#tab/http)
@@ -89,45 +91,35 @@ POST https://graph.microsoft.com/beta/policies/appManagementPolicies
8991
"passwordCredentials": [
9092
{
9193
"restrictionType": "passwordAddition",
94+
"state": "enabled",
9295
"maxLifetime": null,
9396
"restrictForAppsCreatedAfterDateTime": "2019-10-19T10:37:00Z"
9497
},
9598
{
9699
"restrictionType": "passwordLifetime",
100+
"state": "enabled",
97101
"maxLifetime": "P90D",
98102
"restrictForAppsCreatedAfterDateTime": "2014-10-19T10:37:00Z"
99103
},
100104
{
101105
"restrictionType": "symmetricKeyAddition",
106+
"state": "enabled",
102107
"maxLifetime": null,
103108
"restrictForAppsCreatedAfterDateTime": "2019-10-19T10:37:00Z"
104109
},
105110
{
106111
"restrictionType": "symmetricKeyLifetime",
107-
"maxLifetime": "P30D",
108-
"restrictForAppsCreatedAfterDateTime": "2014-10-19T10:37:00Z"
109-
}
110-
],
111-
"keyCredentials": [
112-
{
113-
"restrictionType": "asymmetricKeyLifetime",
112+
"state": "enabled",
114113
"maxLifetime": "P90D",
115114
"restrictForAppsCreatedAfterDateTime": "2014-10-19T10:37:00Z"
116-
},
117-
{
118-
"restrictionType": "trustedCertificateAuthority",
119-
"restrictForAppsCreatedAfterDateTime": "2019-10-19T10:37:00Z",
120-
"certificateBasedApplicationConfigurationIds": [
121-
"eec5ba11-2fc0-4113-83a2-ed986ed13743",
122-
"bb8e164b-f9ed-4b98-bc45-65eddc14f4c1"
123-
],
124-
"maxLifetime": null
125115
}
126116
],
117+
"keyCredentials": [],
127118
"applicationRestrictions": {
128119
"identifierUris": {
129120
"nonDefaultUriAddition": {
130-
"restrictForAppsCreatedAfterDateTime": "2024-01-01T10:37:00Z",
121+
"state": "disabled",
122+
"restrictForAppsCreatedAfterDateTime": null,
131123
"excludeAppsReceivingV2Tokens": true,
132124
"excludeSaml": true
133125
}
@@ -186,6 +178,7 @@ The following example shows the response.
186178
HTTP/1.1 200 OK
187179
Content-type: application/json
188180
181+
189182
{
190183
"@odata.context": "https://graph.microsoft.com/beta/$metadata#policies/appManagementPolicies/$entity",
191184
"id": "a4ab1ed9-46bb-4bef-88d4-86fd6398dd5d",
@@ -196,15 +189,40 @@ Content-type: application/json
196189
"passwordCredentials": [
197190
{
198191
"restrictionType": "passwordAddition",
192+
"state": "enabled",
199193
"maxLifetime": null,
200194
"restrictForAppsCreatedAfterDateTime": "2019-10-19T10:37:00Z"
201195
},
202196
{
203197
"restrictionType": "passwordLifetime",
198+
"state": "enabled",
204199
"maxLifetime": "P90D",
205200
"restrictForAppsCreatedAfterDateTime": "2018-10-19T10:37:00Z"
201+
},
202+
{
203+
"restrictionType": "symmetricKeyAddition",
204+
"state": "enabled",
205+
"maxLifetime": null,
206+
"restrictForAppsCreatedAfterDateTime": "2019-10-19T10:37:00Z"
207+
},
208+
{
209+
"restrictionType": "symmetricKeyLifetime",
210+
"state": "enabled",
211+
"maxLifetime": "P90D",
212+
"restrictForAppsCreatedAfterDateTime": "2014-10-19T10:37:00Z"
206213
}
207-
]
214+
],
215+
"keyCredentials": [],
216+
"applicationRestrictions": {
217+
"identifierUris": {
218+
"nonDefaultUriAddition": {
219+
"state": "disabled",
220+
"restrictForAppsCreatedAfterDateTime": null,
221+
"excludeAppsReceivingV2Tokens": true,
222+
"excludeSaml": true
223+
}
224+
}
225+
}
208226
}
209227
}
210228
```

api-reference/beta/api/azureadauthentication-get.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,7 @@ Choose the permission or permissions marked as least privileged for this API. Us
2222
<!-- { "blockType": "permissions", "name": "azureadauthentication_get" } -->
2323
[!INCLUDE [permissions-table](../includes/permissions/azureadauthentication-get-permissions.md)]
2424

25-
For delegated scenarios, the calling user needs to belong to at least one of the following [Microsoft Entra roles](/entra/identity/role-based-access-control/permissions-reference?toc=%2Fgraph%2Ftoc.json):
26-
+ Global Reader
27-
+ Reports Reader
28-
+ Security Administrator
29-
+ Security Operator
30-
+ Security Reader
25+
[!INCLUDE [rbac-entra-health-service-activity-apis](../includes/rbac-for-apis/rbac-entra-health-service-activity-apis.md)]
3126

3227
## HTTP request
3328

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
---
2+
title: "Get certificateAuthorityDetail"
3+
description: "Read the properties and relationships of a certificateAuthorityDetail object."
4+
author: "suawat"
5+
ms.localizationpriority: medium
6+
ms.subservice: "entra-sign-in"
7+
doc_type: apiPageType
8+
---
9+
10+
# Get certificateAuthorityDetail
11+
12+
Namespace: microsoft.graph
13+
14+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
15+
16+
Read the properties and relationships of a [certificateAuthorityDetail](../resources/certificateauthoritydetail.md) object.
17+
18+
## Permissions
19+
20+
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
21+
22+
<!-- {
23+
"blockType": "permissions",
24+
"name": "certificateauthoritydetail-get-permissions"
25+
}
26+
-->
27+
[!INCLUDE [permissions-table](../includes/permissions/certificateauthoritydetail-get-permissions.md)]
28+
29+
[!INCLUDE [rbac-cert-based-authpkis-apis](../includes/rbac-for-apis/rbac-cert-based-authpkis-apis.md)]
30+
31+
## HTTP request
32+
33+
<!-- {
34+
"blockType": "ignored"
35+
}
36+
-->
37+
38+
``` http
39+
GET /directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/{certificateBasedAuthPkiId}/certificateAuthorities/{certificateAuthorityDetailId}
40+
```
41+
42+
## Optional query parameters
43+
44+
This method supports the `$select` OData query parameter to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
45+
46+
## Request headers
47+
48+
|Name|Description|
49+
|:---|:---|
50+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
51+
52+
## Request body
53+
54+
Don't supply a request body for this method.
55+
56+
## Response
57+
58+
If successful, this method returns a `200 OK` response code and a [certificateAuthorityDetail](../resources/certificateauthoritydetail.md) object in the response body.
59+
60+
## Examples
61+
62+
### Request
63+
64+
The following example shows a request.
65+
<!-- {
66+
"blockType": "request",
67+
"name": "get_certificateauthoritydetail"
68+
}
69+
-->
70+
``` http
71+
GET https://graph.microsoft.com/beta/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/{certificateBasedAuthPkiId}/certificateAuthorities/{certificateAuthorityDetailId}
72+
```
73+
74+
75+
### Response
76+
77+
The following example shows the response.
78+
>**Note:** The response object shown here might be shortened for readability.
79+
<!-- {
80+
"blockType": "response",
81+
"truncated": true,
82+
"@odata.type": "microsoft.graph.certificateAuthorityDetail"
83+
}
84+
-->
85+
``` http
86+
HTTP/1.1 200 OK
87+
Content-Type: application/json
88+
89+
{
90+
"value": {
91+
"@odata.type": "#microsoft.graph.certificateAuthorityDetail",
92+
"id": "90777c92-2eb3-4a68-931d-4a3e1e1c741f",
93+
"deletedDateTime": null,
94+
"certificateAuthorityType": "root",
95+
"certificate": "Binary",
96+
"displayName": "Contoso2 CA1",
97+
"issuer": "Contoso2",
98+
"issuerSubjectKeyIdentifier": "C0E9....711A",
99+
"createdDateTime": "2024-10-25T18:05:28Z",
100+
"expirationDateTime": "2027-08-29T02:05:57Z",
101+
"thumbprint": "C6FA....4E9CF2",
102+
"certificateRevocationListUrl": null,
103+
"deltacertificateRevocationListUrl": null,
104+
"isIssuerHintEnabled": true
105+
}
106+
}
107+
```
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
---
2+
title: "Update certificateAuthorityDetail"
3+
description: "Update the properties of a certificateAuthorityDetail object."
4+
author: "suawat"
5+
ms.localizationpriority: medium
6+
ms.subservice: "entra-sign-in"
7+
doc_type: apiPageType
8+
---
9+
10+
# Update certificateAuthorityDetail
11+
12+
Namespace: microsoft.graph
13+
14+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
15+
16+
Update the properties of a [certificateAuthorityDetail](../resources/certificateauthoritydetail.md) object.
17+
18+
## Permissions
19+
20+
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
21+
22+
<!-- {
23+
"blockType": "permissions",
24+
"name": "certificateauthoritydetail-update-permissions"
25+
}
26+
-->
27+
[!INCLUDE [permissions-table](../includes/permissions/certificateauthoritydetail-update-permissions.md)]
28+
29+
[!INCLUDE [rbac-cert-based-authpkis-apis](../includes/rbac-for-apis/rbac-cert-based-authpkis-apis.md)]
30+
31+
32+
## HTTP request
33+
34+
<!-- {
35+
"blockType": "ignored"
36+
}
37+
-->
38+
``` http
39+
PATCH /directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/{certificateBasedAuthPkiId}/certificateAuthorities/{certificateAuthorityDetailId}
40+
```
41+
42+
## Request headers
43+
44+
|Name|Description|
45+
|:---|:---|
46+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
47+
|Content-Type|application/json. Required.|
48+
49+
## Request body
50+
51+
[!INCLUDE [table-intro](../../includes/update-property-table-intro.md)]
52+
53+
|Property|Type|Description|
54+
|:---|:---|:---|
55+
|certificateAuthorityType|certificateAuthorityType|The type of certificate authority. The possible values are: `root`, `intermediate`, `unknownFutureValue`. |
56+
|certificate|Binary|The type of certificate authority. Possible values are: `root`, `intermediate`.|
57+
|displayName|String|The name of the certificate authority. |
58+
|issuer|String|The issuer of the certificate authority. |
59+
|issuerSubjectKeyIdentifier|String|The subject key identifier of certificate authority. |
60+
|createdDateTime|DateTimeOffset|The date and time when the certificate authority was created. |
61+
|expirationDateTime|DateTimeOffset|The date and time when the certificate authority expires. Required.|
62+
|thumbprint|String|The thumbprint of certificate authority certificate. Required.|
63+
|certificateRevocationListUrl|String|The URL to check if the certificate is revoked. |
64+
|deltacertificateRevocationListUrl|String|The URL to check if the certificate is revoked. |
65+
|isIssuerHintEnabled|Boolean|Indicates whether the certificate picker presents the certificate authority to the user to use for authentication. Default value is `false`. |
66+
67+
68+
69+
## Response
70+
71+
If successful, this method returns a `200 OK` response code and an updated [certificateAuthorityDetail](../resources/certificateauthoritydetail.md) object in the response body.
72+
73+
## Examples
74+
75+
### Request
76+
77+
The following example shows a request.
78+
<!-- {
79+
"blockType": "request",
80+
"name": "update_certificateauthoritydetail"
81+
}
82+
-->
83+
``` http
84+
PATCH https://graph.microsoft.com/beta/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/{certificateBasedAuthPkiId}/certificateAuthorities/{certificateAuthorityDetailId}
85+
Content-Type: application/json
86+
87+
{
88+
89+
"isIssuerHintEnabled": true
90+
91+
}
92+
```
93+
94+
95+
### Response
96+
97+
The following example shows the response.
98+
>**Note:** The response object shown here might be shortened for readability.
99+
<!-- {
100+
"blockType": "response",
101+
"truncated": true,
102+
"@odata.type": "microsoft.graph.certificateAuthorityDetail"
103+
}
104+
-->
105+
``` http
106+
HTTP/1.1 200 OK
107+
Content-Type: application/json
108+
109+
{
110+
"@odata.type": "#microsoft.graph.certificateAuthorityDetail",
111+
"id": "90777c92-2eb3-4a68-931d-4a3e1e1c741f",
112+
"deletedDateTime": null,
113+
"certificateAuthorityType": "root",
114+
"certificate": "Binary",
115+
"displayName": "Contoso2 CA1",
116+
"issuer": "Contoso2",
117+
"issuerSubjectKeyIdentifier": "C0E9....711A",
118+
"createdDateTime": "2024-10-25T18:05:28Z",
119+
"expirationDateTime": "2027-08-29T02:05:57Z",
120+
"thumbprint": "C6FA....4E9CF2",
121+
"certificateRevocationListUrl": null,
122+
"deltacertificateRevocationListUrl": null,
123+
"isIssuerHintEnabled": true
124+
125+
}
126+
```
127+

0 commit comments

Comments
 (0)