Skip to content

Commit 084db80

Browse files
authored
Merge pull request #184050 from MicrosoftDocs/master
Merge master to live, 4 AM
2 parents b956aa2 + 4f41041 commit 084db80

File tree

309 files changed

+3498
-2200
lines changed

Some content is hidden

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

309 files changed

+3498
-2200
lines changed

.openpublishing.publish.config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@
7575
"branch": "master",
7676
"branch_mapping": {}
7777
},
78+
{
79+
"path_to_root": "azure_cli_scripts",
80+
"url": "https://github.com/Azure-Samples/azure-cli-samples",
81+
"branch": "master",
82+
"branch_mapping": {}
83+
},
7884
{
7985
"path_to_root": "powershell_scripts",
8086
"url": "https://github.com/Azure/azure-docs-powershell-samples",

.openpublishing.redirection.json

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25628,6 +25628,81 @@
2562825628
"redirect_url": "/cli/azure/spring-cloud",
2562925629
"redirect_document_id": false
2563025630
},
25631+
{
25632+
"source_path_from_root": "/articles/sql-database/scripts/sql-database-setup-geodr-and-failover-pool-cli.md",
25633+
"redirect_url": "/azure/azure-sql/database/scripts/setup-geodr-failover-pool-cli",
25634+
"redirect_document_id": false
25635+
},
25636+
{
25637+
"source_path_from_root": "/articles/sql-database/scripts/sql-database-setup-geodr-and-failover-database-cli.md",
25638+
"redirect_url": "/azure/azure-sql/database/scripts/setup-geodr-failover-database-cli",
25639+
"redirect_document_id": false
25640+
},
25641+
{
25642+
"source_path_from_root": "/articles/sql-database/scripts/sql-database-restore-database-cli.md",
25643+
"redirect_url": "/azure/azure-sql/database/scripts/restore-database-cli",
25644+
"redirect_document_id": false
25645+
},
25646+
{
25647+
"source_path_from_root": "/articles/sql-database/scripts/sql-database-import-from-bacpac-cli.md",
25648+
"redirect_url": "/azure/azure-sql/database/scripts/import-from-bacpac-cli",
25649+
"redirect_document_id": false
25650+
},
25651+
{
25652+
"source_path_from_root": "/articles/sql-database/scripts/auditing-and-threat-detection-cli.md",
25653+
"redirect_url": "/azure/azure-sql/database/scripts/auditing-threat-detection-cli",
25654+
"redirect_document_id": false
25655+
},
25656+
{
25657+
"source_path_from_root": "/articles/sql-database/scripts/setup-geodr-and-failover-database-cli.md",
25658+
"redirect_url": "/azure/azure-sql/database/scripts/setup-geodr-failover-database-cli",
25659+
"redirect_document_id": false
25660+
},
25661+
{
25662+
"source_path_from_root": "/articles/sql-database/scripts/sql-database-create-managed-instance-to-failover-group-cli.md",
25663+
"redirect_url": "/azure/azure-sql/database/az-cli-script-samples-content-guide",
25664+
"redirect_document_id": false
25665+
},
25666+
{
25667+
"source_path_from_root": "/articles/sql-database/scripts/transparent-data-encryption-byok-sql-managed-instance-cli.md",
25668+
"redirect_url": "/azure/azure-sql/managed-instance/scripts/transparent-data-encryption-byok-sql-managed-instance-cli",
25669+
"redirect_document_id": false
25670+
},
25671+
{
25672+
"source_path_from_root": "/articles/sql-database/scripts/sql-managed-instance-restore-geo-backup-cli.md",
25673+
"redirect_url": "/azure/azure-sql/managed-instance/scripts/restore-geo-backup-cli",
25674+
"redirect_document_id": false
25675+
},
25676+
{
25677+
"source_path_from_root": "/articles/sql-database/scripts/sql-database-create-configure-managed-instance-cli.md",
25678+
"redirect_url": "/azure/azure-sql/managed-instance/scripts/create-configure-managed-instance-cli",
25679+
"redirect_document_id": false
25680+
},
25681+
{
25682+
"source_path_from_root": "/articles/sql-database/scripts/sql-database-copy-database-to-new-server-cli.md",
25683+
"redirect_url": "/azure/azure-sql/database/scripts/copy-database-to-new-server-cli",
25684+
"redirect_document_id": false
25685+
},
25686+
{
25687+
"source_path_from_root": "/articles/sql-database/scripts/sql-database-backup-database-cli.md",
25688+
"redirect_url": "/azure/azure-sql/database/scripts/backup-database-cli",
25689+
"redirect_document_id": false
25690+
},
25691+
{
25692+
"source_path_from_root": "/articles/sql-database/scripts/sql-database-add-managed-instance-to-failover-group-cli.md",
25693+
"redirect_url": "/azure/azure-sql/database/az-cli-script-samples-content-guide",
25694+
"redirect_document_id": false
25695+
},
25696+
{
25697+
"source_path_from_root": "/articles/sql-database/scripts/sql-database-auditing-and-threat-detection-cli.md",
25698+
"redirect_url": "/azure/azure-sql/database/scripts/auditing-threat-detection-cli",
25699+
"redirect_document_id": false
25700+
},
25701+
{
25702+
"source_path_from_root": "/articles/sql-database/scripts/sql-database-add-elastic-pool-to-failover-group-cli.md",
25703+
"redirect_url": "/azure/azure-sql/database/scripts/add-elastic-pool-to-failover-group-cli",
25704+
"redirect_document_id": false
25705+
},
2563125706
{
2563225707
"source_path_from_root": "/articles/scripts/sql-database-setup-geodr-failover-database-failover-group-powershell.md",
2563325708
"redirect_url": "/azure/sql-database/scripts/sql-database-add-single-db-to-failover-group-powershell",

articles/active-directory/develop/msal-logging-js.md

Lines changed: 48 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.service: active-directory
1010
ms.subservice: develop
1111
ms.topic: conceptual
1212
ms.workload: identity
13-
ms.date: 01/25/2021
13+
ms.date: 12/21/2021
1414
ms.author: marsma
1515
ms.reviewer: saeeda, jmprieur
1616
ms.custom: aaddev
@@ -21,34 +21,62 @@ ms.custom: aaddev
2121

2222
## Configure logging in MSAL.js
2323

24-
Enable logging in MSAL.js (JavaScript) by passing a logger object during the configuration for creating a `UserAgentApplication` instance. This logger object has the following properties:
24+
Enable logging in MSAL.js (JavaScript) by passing a loggerOptions object during the configuration for creating a `PublicClientApplication` instance. The only required config parameter is the client ID of the application. Everything else is optional, but may be required depending on your tenant and application model.
2525

26-
- `localCallback`: a Callback instance that can be provided by the developer to consume and publish logs in a custom manner. Implement the localCallback method depending on how you want to redirect logs.
27-
- `level` (optional): the configurable log level. The supported log levels are: `Error`, `Warning`, `Info`, and `Verbose`. The default is `Info`.
26+
The loggerOptions object has the following properties:
27+
28+
- `loggerCallback`: a Callback function that can be provided by the developer to handle the logging of MSAL statements in a custom manner. Implement the `loggerCallback` function depending on how you want to redirect logs. The loggerCallback function has the following format ` (level: LogLevel, message: string, containsPii: boolean): void`
29+
- The supported log levels are: `Error`, `Warning`, `Info`, and `Verbose`. The default is `Info`.
2830
- `piiLoggingEnabled` (optional): if set to true, logs personal and organizational data. By default this is false so that your application doesn't log personal data. Personal data logs are never written to default outputs like Console, Logcat, or NSLog.
29-
- `correlationId` (optional): a unique identifier, used to map the request with the response for debugging purposes. Defaults to RFC4122 version 4 guid (128 bits).
3031

3132
```javascript
32-
function loggerCallback(logLevel, message, containsPii) {
33-
console.log(message);
34-
}
35-
36-
var msalConfig = {
33+
const msalConfig = {
3734
auth: {
38-
clientId: "<Enter your client id>",
35+
clientId: "enter_client_id_here",
36+
authority: "https://login.microsoftonline.com/common",
37+
knownAuthorities: [],
38+
cloudDiscoveryMetadata: "",
39+
redirectUri: "enter_redirect_uri_here",
40+
postLogoutRedirectUri: "enter_postlogout_uri_here",
41+
navigateToLoginRequestUrl: true,
42+
clientCapabilities: ["CP1"]
43+
},
44+
cache: {
45+
cacheLocation: "sessionStorage",
46+
storeAuthStateInCookie: false,
47+
secureCookies: false
3948
},
4049
system: {
41-
logger: new Msal.Logger(
42-
loggerCallback , {
43-
level: Msal.LogLevel.Verbose,
44-
piiLoggingEnabled: false,
45-
correlationId: '1234'
46-
}
47-
)
48-
}
50+
loggerOptions: {
51+
loggerCallback: (level: LogLevel, message: string, containsPii: boolean): void => {
52+
if (containsPii) {
53+
return;
54+
}
55+
switch (level) {
56+
case LogLevel.Error:
57+
console.error(message);
58+
return;
59+
case LogLevel.Info:
60+
console.info(message);
61+
return;
62+
case LogLevel.Verbose:
63+
console.debug(message);
64+
return;
65+
case LogLevel.Warning:
66+
console.warn(message);
67+
return;
68+
}
69+
},
70+
piiLoggingEnabled: false
71+
},
72+
windowHashTimeout: 60000,
73+
iframeHashTimeout: 6000,
74+
loadFrameTimeout: 0,
75+
asyncPopups: false
76+
};
4977
}
5078

51-
var UserAgentApplication = new Msal.UserAgentApplication(msalConfig);
79+
const msalInstance = new PublicClientApplication(msalConfig);
5280
```
5381

5482
## Next steps

articles/active-directory/index.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ metadata:
1010
ms.service: active-directory
1111
ms.topic: hub-page
1212
ms.collection: M365-identity-device-management
13-
author: mtillman
14-
ms.author: mtillman
15-
manager: daveba
16-
ms.date: 04/14/2021
13+
author: rolyon
14+
ms.author: rolyon
15+
manager: karenhoran
16+
ms.date: 01/03/2022
1717

1818
highlightedContent:
1919
# itemType: architecture | concept | deploy | download | get-started | how-to-guide | learn | overview | quickstart | reference | tutorial | whats-new
@@ -282,15 +282,15 @@ conceptualContent:
282282

283283
- title: Roles
284284
links:
285-
- url: ./roles/concept-understand-roles.md
285+
- url: ./roles/manage-roles-portal.md
286+
itemType: how-to-guide
287+
text: Assign Azure AD roles
288+
- url: ./roles/administrative-units.md
286289
itemType: concept
287-
text: Understand Azure AD roles
290+
text: Understand administrative units
288291
- url: ./roles/custom-create.md
289292
itemType: how-to-guide
290293
text: Create a custom role
291-
- url: ./roles/groups-view-assignments.md
292-
itemType: reference
293-
text: View roles assigned to a group
294294
footerLink:
295295
url: ./roles/index.yml
296296
text: See more

articles/active-directory/manage-apps/secure-hybrid-access.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Using [Application Proxy](../app-proxy/what-is-application-proxy.md) you can pro
3131

3232
In addition to [Azure AD Application Proxy](../app-proxy/what-is-application-proxy.md), Microsoft partners with third-party providers to enable secure access to your on-premises applications and applications that use legacy authentication.
3333

34-
![Image shows secure hybrid access with app proxy and partners](./media/secure-hybrid-access/secure-hybrid-access.png)
34+
![Illustration of Secure Hybrid Access partner integrations and Application Proxy providing access to legacy and on-premises applications after authentication with Azure AD.](./media/secure-hybrid-access/secure-hybrid-access.png)
3535

3636
The following partners offer pre-built solutions to support **conditional access policies per application** and provide detailed guidance for integrating with Azure AD.
3737

articles/active-directory/roles/index.yml

Lines changed: 32 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -25,69 +25,75 @@ landingContent:
2525
linkLists:
2626
- linkListType: overview
2727
links:
28-
- text: Azure AD role-based access control overview
28+
- text: What is Azure AD RBAC?
2929
url: custom-overview.md
3030
- linkListType: concept
3131
links:
3232
- text: Understand Azure AD roles
3333
url: concept-understand-roles.md
34-
- text: Understand administrative units in Azure AD
34+
- text: Understand administrative units
3535
url: administrative-units.md
3636
- text: Use groups to manage role assignments
3737
url: groups-concept.md
3838

3939
# Card
40-
- title: Get started
40+
- title: Choose roles
4141
linkLists:
42-
- linkListType: quickstart
42+
- linkListType: how-to-guide
43+
links:
44+
- text: List role definitions
45+
url: role-definitions-list.md
46+
- linkListType: reference
4347
links:
44-
- text: Grant permission to create unlimited app registrations
45-
url: quickstart-app-registration-limits.md
48+
- text: Built-in roles
49+
url: permissions-reference.md
50+
- text: Least privileged roles by task
51+
url: delegate-by-task.md
4652

4753
# Card
48-
- title: Delegate roles
54+
- title: List role assignments
4955
linkLists:
5056
- linkListType: how-to-guide
5157
links:
52-
- text: Delegate roles by task
53-
url: delegate-by-task.md
54-
- text: Delegate application management
55-
url: delegate-app-roles.md
58+
- text: List role assignments
59+
url: view-assignments.md
5660

5761
# Card
58-
- title: Assign roles to users
62+
- title: Assign roles
5963
linkLists:
6064
- linkListType: how-to-guide
6165
links:
62-
- text: Create custom roles
63-
url: custom-create.md
64-
- text: Assign roles using Graph API
65-
url: custom-assign-graph.md
66-
- text: Assign using PowerShell
67-
url: custom-assign-powershell.md
68-
- text: Assign roles using Graph API
69-
url: custom-assign-graph.md
66+
- text: Assign roles to users
67+
url: manage-roles-portal.md
68+
- text: Assign roles at different scopes
69+
url: assign-roles-different-scopes.md
7070

7171
# Card
7272
- title: Assign roles to groups
7373
linkLists:
7474
- linkListType: how-to-guide
7575
links:
76-
- text: Create role-assignable groups
76+
- text: Create a role-assignable group
7777
url: groups-create-eligible.md
7878
- text: Assign roles to groups
7979
url: groups-assign-role.md
80-
- text: Make a group eligible for PIM
81-
url: groups-pim-eligible.md
82-
- text: View assignments for a group
83-
url: groups-view-assignments.md
80+
81+
# Card
82+
- title: Create custom roles
83+
linkLists:
84+
- linkListType: how-to-guide
85+
links:
86+
- text: Create a custom role
87+
url: custom-create.md
88+
- text: Create custom roles for enterprise apps
89+
url: custom-enterprise-apps.md
8490

8591
# Card
8692
- title: Manage scope with administrative units
8793
linkLists:
8894
- linkListType: how-to-guide
8995
links:
90-
- text: Create or delete administrative units
96+
- text: Create administrative units
9197
url: admin-units-manage.md
9298
- text: Add members
9399
url: admin-units-members-add.md

articles/aks/concepts-clusters-workloads.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ AKS provides a single-tenant control plane, with a dedicated API server, schedul
5858

5959
While you don't need to configure components (like a highly available *etcd* store) with this managed control plane, you can't access the control plane directly. Kubernetes control plane and node upgrades are orchestrated through the Azure CLI or Azure portal. To troubleshoot possible issues, you can review the control plane logs through Azure Monitor logs.
6060

61-
To configure or directly access a control plane, deploy your own Kubernetes cluster using [aks-engine][aks-engine].
61+
To configure or directly access a control plane, deploy a self-managed Kubernetes cluster using [Cluster API Provider Azure][cluster-api-provider-azure].
6262

6363
For associated best practices, see [Best practices for cluster security and upgrades in AKS][operator-best-practices-cluster-security].
6464

@@ -78,7 +78,7 @@ The Azure VM size for your nodes defines the storage CPUs, memory, size, and typ
7878

7979
In AKS, the VM image for your cluster's nodes is based on Ubuntu Linux or Windows Server 2019. When you create an AKS cluster or scale out the number of nodes, the Azure platform automatically creates and configures the requested number of VMs. Agent nodes are billed as standard VMs, so any VM size discounts (including [Azure reservations][reservation-discounts]) are automatically applied.
8080

81-
Deploy your own Kubernetes cluster with [aks-engine][aks-engine] if using a different host OS, container runtime, or including different custom packages. The upstream `aks-engine` releases features and provides configuration options ahead of support in AKS clusters. So, if you wish to use a container runtime other than `containerd` or Docker, you can run `aks-engine` to configure and deploy a Kubernetes cluster that meets your current needs.
81+
If you need advanced configuration and control on your Kubernetes node container runtime and OS, you can deploy a self-managed cluster using [Cluster API Provider Azure][cluster-api-provider-azure].
8282

8383
### Resource reservations
8484

@@ -297,6 +297,7 @@ This article covers some of the core Kubernetes components and how they apply to
297297

298298
<!-- EXTERNAL LINKS -->
299299
[aks-engine]: https://github.com/Azure/aks-engine
300+
[cluster-api-provider-azure]: https://github.com/kubernetes-sigs/cluster-api-provider-azure
300301
[kubernetes-pods]: https://kubernetes.io/docs/concepts/workloads/pods/pod-overview/
301302
[kubernetes-pod-lifecycle]: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/
302303
[kubernetes-deployments]: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/

articles/aks/tutorial-kubernetes-deploy-application.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ Get the ACR login server name using the [Get-AzContainerRegistry][get-azcontaine
6464

6565
---
6666

67-
The sample manifest file from the git repo cloned in the first tutorial uses the login server name of *microsoft*. Make sure that you're in the cloned *azure-voting-app-redis* directory, then open the manifest file with a text editor, such as `vi`:
67+
The sample manifest file from the git repo cloned in the first tutorial uses the images from Microsoft Container Registry (*mcr.microsoft.com*). Make sure that you're in the cloned *azure-voting-app-redis* directory, then open the manifest file with a text editor, such as `vi`:
6868

6969
```console
7070
vi azure-vote-all-in-one-redis.yaml
7171
```
7272

73-
Replace *microsoft* with your ACR login server name. The image name is found on line 60 of the manifest file. The following example shows the default image name:
73+
Replace *mcr.microsoft.com* with your ACR login server name. The image name is found on line 60 of the manifest file. The following example shows the default image name:
7474

7575
```yaml
7676
containers:
@@ -163,5 +163,5 @@ Advance to the next tutorial to learn how to scale a Kubernetes application and
163163
[kubernetes-service]: concepts-network.md#services
164164
[azure-powershell-install]: /powershell/azure/install-az-ps
165165
[get-azcontainerregistry]: /powershell/module/az.containerregistry/get-azcontainerregistry
166-
[gitops-flux-tutorial]: ../azure-arc/kubernetes/tutorial-use-gitops-flux2.md
167-
[gitops-flux-tutorial-aks]: ../azure-arc/kubernetes/tutorial-use-gitops-flux2.md#for-azure-kubernetes-service-clusters
166+
[gitops-flux-tutorial]: ../azure-arc/kubernetes/tutorial-use-gitops-flux2.md?toc=/azure/aks/toc.json
167+
[gitops-flux-tutorial-aks]: ../azure-arc/kubernetes/tutorial-use-gitops-flux2.md?toc=/azure/aks/toc.json#for-azure-kubernetes-service-clusters

articles/api-management/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,8 @@
356356
href: gateway-log-schema-reference.md
357357
- name: Event Grid schema
358358
href: ../event-grid/event-schema-api-management.md?toc=/azure/api-management/toc.json&bc=/azure/api-management/breadcrumb/toc.json
359+
- name: Virtual network reference
360+
href: virtual-network-reference.md
359361
- name: Resources
360362
items:
361363
- name: FAQ

0 commit comments

Comments
 (0)