Skip to content

Commit 81382b1

Browse files
authored
Merge pull request #24137 from MicrosoftDocs/main
Publish main to live, Wednesday 10:30AM PST, 01/24
2 parents 185a059 + b0bbbea commit 81382b1

17 files changed

Lines changed: 119 additions & 93 deletions

microsoft-365/admin/email/select-domain-to-use-for-email-from-microsoft-365-products.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ description: "Let Microsoft send notification messages from an email address wit
3737
- [Supported Products](#supported-products)
3838
- [Excluded Scenarios](#excluded-scenarios)
3939

40-
Emails sent out to users as they interact with each other and across various products within Microsoft 365 are designed to provide insights and information about their organization. These emails are typically sent out between users based on those interactions, which means that they are often sent from the user’s email address. Those emails will remain unchanged and will continue to work as they do today.
40+
Emails sent out to users as they interact with each other and across various products within Microsoft 365 are designed to provide insights and information about their organization. These emails are typically sent out between users based on those interactions, which means that they're often sent from the user’s email address. Those emails will remain unchanged and will continue to work as they do today.
4141

4242
There are several scenarios where emails are sent from a “no-reply” system-based product account. For example, batched comments, news, digests, and system notification emails are currently sent from a no-reply product address. These include addresses such [email protected], [email protected], [email protected].
4343

@@ -83,8 +83,11 @@ Please note that the following products currently support this feature:
8383
- Planner
8484
- Project
8585
- Viva Connections
86+
- Viva Glint
87+
- Viva Pulse
8688
- Viva Topics
8789
- Viva Amplify
90+
- Teams (Pending production rollout - Updates via Message Center Post MC705761 and Roadmap ID 375694)
8891

8992
> [!NOTE]
9093
> The supported products list will be updated as each product migrates to support the setting and no action will be required as these products onboard to the centralized setting.

microsoft-365/enterprise/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,8 @@
496496
href: introduction-to-performance-tuning-for-sharepoint-online.md
497497
- name: Diagnosing performance issues with SharePoint
498498
href: diagnosing-performance-issues-with-sharepoint-online.md
499+
- name: Use the Page Diagnostics for SharePoint tool
500+
href: page-diagnostics-for-spo.md
499501
- name: Tune Project Online performance
500502
href: /ProjectOnline/tune-project-online-performance
501503
- name: Performance troubleshooting plan

microsoft-365/enterprise/create-user-accounts-with-microsoft-365-powershell.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Create Microsoft 365 user accounts with PowerShell"
33
ms.author: kvice
44
author: kelleyvice-msft
55
manager: scotv
6-
ms.date: 08/10/2020
6+
ms.date: 12/29/2023
77
audience: Admin
88
ms.topic: article
99
ms.service: microsoft-365-enterprise
@@ -13,6 +13,7 @@ search.appverid:
1313
ms.collection:
1414
- scotvorg
1515
- Ent_O365
16+
- must-keep
1617
f1.keywords:
1718
- CSH
1819
ms.custom:
@@ -43,11 +44,10 @@ When you create user accounts in PowerShell, certain account properties are alwa
4344
|**Password** <br/> |No <br/> | If you don't specify a password, a random password is assigned to the user account, and the password is visible in the results of the command. If you specify a password, it needs to be 8 to 16 ASCII text characters of the following types: lowercase letters, uppercase letters, numbers, and symbols.<br/> |
4445
|**UsageLocation** <br/> |No <br/> |This is a valid ISO 3166-1 alpha-2 country code. For example, *US* for the United States, and *FR* for France. It's important to provide this value, because some Microsoft 365 services aren't available in certain countries/regions. You can't assign a license to a user account unless the account has this value configured. For more information, see [About license restrictions](https://go.microsoft.com/fwlink/p/?LinkId=691730).<br/> |
4546

46-
>[!Note]
47-
>[Learn how to create user accounts](../admin/add-users/add-users.md) by using the Microsoft 365 admin center.
48-
>
47+
> [!NOTE]
48+
> Also see [Learn how to create user accounts](../admin/add-users/add-users.md) by using the Microsoft 365 admin center.
49+
>
4950
> For a list of additional resources, see [Manage users and groups](/admin).
50-
>
5151
5252
## Use the Azure Active Directory PowerShell for Graph module
5353

@@ -81,9 +81,8 @@ To create an individual account, use the following syntax:
8181
New-MsolUser -DisplayName <display name> -FirstName <first name> -LastName <last name> -UserPrincipalName <sign-in name> -UsageLocation <ISO 3166-1 alpha-2 country code> -LicenseAssignment <licensing plan name> [-Password <Password>]
8282
```
8383

84-
>[!Note]
85-
>PowerShell Core doesn't support the Microsoft Azure Active Directory module for Windows PowerShell module and cmdlets that have *Msol* in their name. Run these cmdlets from Windows PowerShell.
86-
>
84+
> [!NOTE]
85+
> PowerShell Core doesn't support the Microsoft Azure Active Directory module for Windows PowerShell module and cmdlets that have *Msol* in their name. Run these cmdlets from Windows PowerShell.
8786
8887
To list the available [licensing plan names](/azure/active-directory/enterprise-users/licensing-service-plan-reference), use this command:
8988

@@ -108,23 +107,23 @@ New-MsolUser -DisplayName "Caleb Sills" -FirstName Caleb -LastName Sills -UserPr
108107
[email protected],Shawn,Melendez,Shawn Melendez,US,contoso:ENTERPRISEPACK
109108
```
110109
111-
>[!NOTE]
112-
>The column names and their order in the first row of the CSV file are arbitrary. But make sure the order of the data in the rest of the file matches the order of the column names. And use the column names for the parameter values in the PowerShell for Microsoft 365 command.
113-
110+
> [!NOTE]
111+
> The column names and their order in the first row of the CSV file are arbitrary. But make sure the order of the data in the rest of the file matches the order of the column names. And use the column names for the parameter values in the PowerShell for Microsoft 365 command.
112+
114113
2. Use the following syntax:
115-
114+
116115
```powershell
117116
Import-Csv -Path <Input CSV File Path and Name> | foreach {New-MsolUser -DisplayName $_.DisplayName -FirstName $_.FirstName -LastName $_.LastName -UserPrincipalName $_.UserPrincipalName -UsageLocation $_.UsageLocation -LicenseAssignment $_.AccountSkuId [-Password $_.Password]} | Export-Csv -Path <Output CSV File Path and Name>
118117
```
119118
120119
This example creates user accounts from the file *C:\My Documents\NewAccounts.csv* and logs the results in a file named *C:\My Documents\NewAccountResults.csv*.
121-
120+
122121
```powershell
123122
Import-Csv -Path "C:\My Documents\NewAccounts.csv" | foreach {New-MsolUser -DisplayName $_.DisplayName -FirstName $_.FirstName -LastName $_.LastName -UserPrincipalName $_.UserPrincipalName -UsageLocation $_.UsageLocation -LicenseAssignment $_.AccountSkuId} | Export-Csv -Path "C:\My Documents\NewAccountResults.csv"
124123
```
125124
126125
3. Review the output file to see the results. We didn't specify passwords, so the random passwords that Microsoft 365 generated are visible in the output file.
127-
126+
128127
## See also
129128
130129
[Manage Microsoft 365 user accounts, licenses, and groups with PowerShell](manage-user-accounts-and-licenses-with-microsoft-365-powershell.md)

microsoft-365/enterprise/getting-started-with-microsoft-365-powershell.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ title: "Get started with PowerShell for Microsoft 365"
33
ms.author: kvice
44
author: kelleyvice-msft
55
manager: scotv
6-
ms.date: 07/17/2020
6+
ms.date: 01/24/2024
77
audience: ITPro
88
ms.topic: conceptual
99
ms.service: microsoft-365-enterprise
1010
ms.localizationpriority: medium
1111
ms.collection:
1212
- scotvorg
1313
- Ent_O365
14+
- must-keep
1415
f1.keywords:
1516
- CSH
1617
ms.custom:
@@ -30,29 +31,29 @@ You can use commands and scripts in PowerShell for Microsoft 365 to manage Micro
3031
Select from these topics:
3132

3233
- [**Why you need to use PowerShell for Microsoft 365**](why-you-need-to-use-microsoft-365-powershell.md)
33-
34+
3435
Start here if you're new to PowerShell for Microsoft 365. Learn why you should use PowerShell for Microsoft 365.
35-
36-
- [**Connect to Microsoft 365 with PowerShell**](connect-to-microsoft-365-powershell.md)
37-
36+
37+
- [**Connect to Microsoft 365 with Microsoft Graph PowerShell**](connect-to-microsoft-365-powershell.md)
38+
3839
Start here to connect to your Microsoft 365 subscription by using PowerShell for Microsoft 365 and do administrative tasks from the command line.
39-
40+
4041
- [**Connect to all Microsoft 365 services in a single PowerShell window**](connect-to-all-microsoft-365-services-in-a-single-windows-powershell-window.md)
41-
42+
4243
You can manage Microsoft 365 in separate windows for Skype for Business Online, SharePoint Online, Microsoft Exchange Online, and Microsoft 365 accounts and licenses. Or, you can manage them all from a single window. This article explains how.
43-
44+
4445
- [**Use PowerShell to create reports in Microsoft 365**](use-windows-powershell-to-create-reports-in-microsoft-365.md)
45-
46+
4647
Start here if you've installed the PowerShell for Microsoft 365 modules and want to learn about using automation commands to create reports quickly.
47-
48+
4849
- [**Cmdlet references for Microsoft 365 services**](cmdlet-references-for-microsoft-365-services.md)
49-
50+
5051
Learn about the cmdlets for the PowerShell for Microsoft 365 modules.
51-
52+
5253
- [**Microsoft 365 community resources for PowerShell**](microsoft-365-powershell-community-resources.md)
53-
54+
5455
Start here to connect to the PowerShell community and get more information about using PowerShell for Microsoft 365.
55-
56+
5657
## Related topics
5758

5859
[Manage Microsoft 365 with PowerShell](manage-microsoft-365-with-microsoft-365-powershell.md)

microsoft-365/enterprise/identify-directory-synchronization-errors.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "View directory synchronization errors in Microsoft 365"
33
ms.author: kvice
44
author: kelleyvice-msft
55
manager: scotv
6-
ms.date: 08/10/2020
6+
ms.date: 12/29/2023
77
audience: Admin
88
ms.topic: article
99
ms.service: microsoft-365-enterprise
@@ -18,6 +18,7 @@ ms.collection:
1818
- scotvorg
1919
- Ent_O365
2020
- M365-identity-device-management
21+
- must-keep
2122
search.appverid:
2223
- MET150
2324
- MOE150
@@ -36,14 +37,14 @@ You can view directory synchronization errors in the <a href="https://go.microso
3637

3738
To view any errors in the Microsoft 365 admin center:
3839

39-
1. Sign in to the [Microsoft 365 admin center](https://admin.microsoft.com) with a global administrator account.
40-
40+
1. Sign in to the [Microsoft 365 admin center](https://admin.microsoft.com) with a global administrator account.
41+
4142
2. On the **Home** page, you'll see the **User management** card.
42-
43+
4344
![The User management card in the Microsoft 365 admin center.](../media/060006e9-de61-49d5-8979-e77cda198e71.png)
4445

45-
3. On the card, choose **Sync errors** under **Microsoft Entra Connect** to see the errors on the **Directory sync errors** page.
46-
46+
3. On the card, choose **Sync errors** under **Microsoft Entra Connect** to see the errors on the **Directory sync errors** page.
47+
4748
![An example of the Directory sync errors page.](../media/882094a3-80d3-4aae-b90b-78b27047974c.png)
4849

4950
4. Choose any of the errors to display the details pane with information about the error and tips on how to fix it.

microsoft-365/enterprise/manage-microsoft-365-passwords.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Manage Microsoft 365 user account passwords"
33
ms.author: kvice
44
author: kelleyvice-msft
55
manager: scotv
6-
ms.date: 09/24/2020
6+
ms.date: 01/24/2024
77
audience: Admin
88
ms.topic: overview
99
ms.service: microsoft-365-enterprise
@@ -17,6 +17,7 @@ ms.collection:
1717
- scotvorg
1818
- Ent_O365
1919
- M365-subscription-management
20+
- must-keep
2021
search.appverid:
2122
- MET150
2223
- MOE150
@@ -42,7 +43,7 @@ You manage user account passwords in:
4243

4344
- [The Microsoft 365 admin center](/admin)
4445
- The Microsoft Entra admin center
45-
46+
4647
### Hybrid
4748

4849
With hybrid identity, passwords are stored in AD DS so you must use on-premises AD DS tools to manage user account passwords. Even when using Password Hash Synchronization (PHS), in which Microsoft Entra ID stores a hashed version of the already hashed version in AD DS, you and users must manage their passwords in AD DS.
@@ -78,8 +79,8 @@ Password writeback is required to fully utilize Microsoft Entra ID Protection ca
7879

7980
For additional information and configuration instructions, see [Microsoft Entra SSPR with password writeback](/azure/active-directory/active-directory-passwords-writeback).
8081

81-
>[!Note]
82-
>Upgrade to the latest version of Microsoft Entra Connect to ensure the best possible experience and new features as they are released. For more information, see [Custom installation of Microsoft Entra Connect](/azure/active-directory/connect/active-directory-aadconnect-get-started-custom).
82+
> [!NOTE]
83+
> Upgrade to the latest version of Microsoft Entra Connect to ensure the best possible experience and new features as they are released. For more information, see [Custom installation of Microsoft Entra Connect](/azure/active-directory/connect/active-directory-aadconnect-get-started-custom).
8384
>
8485
8586
## Simplify password resets

microsoft-365/enterprise/manage-sharepoint-users-and-groups-with-powershell.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: "Manage SharePoint Online users and groups with PowerShell"
2+
title: "Manage SharePoint users and groups with PowerShell"
33
ms.author: kvice
44
author: kelleyvice-msft
55
manager: scotv
6-
ms.date: 07/17/2020
6+
ms.date: 01/24/2024
77
audience: Admin
88
ms.topic: how-to
99
ms.service: microsoft-365-enterprise
@@ -13,6 +13,7 @@ search.appverid:
1313
ms.collection:
1414
- scotvorg
1515
- Ent_O365
16+
- must-keep
1617
f1.keywords:
1718
- CSH
1819
ms.custom:
@@ -21,16 +22,16 @@ ms.custom:
2122
- SPO_Content
2223
- seo-marvel-apr2020
2324
ms.assetid: d0d3877a-831f-4744-96b0-d8167f06cca2
24-
description: In this article, learn how to use PowerShell for Microsoft 365 to manage SharePoint Online users, groups, and sites.
25+
description: In this article, learn how to use PowerShell for Microsoft 365 to manage SharePoint users, groups, and sites.
2526
---
2627

27-
# Manage SharePoint Online users and groups with PowerShell
28+
# Manage SharePoint users and groups with PowerShell
2829

2930
*This article applies to both Microsoft 365 Enterprise and Office 365 Enterprise.*
3031

31-
If you're a SharePoint Online administrator who works with large lists of user accounts or groups and wants an easier way to manage them, you can use PowerShell for Microsoft 365.
32+
If you're a SharePoint administrator who works with large lists of user accounts or groups and wants an easier way to manage them, you can use PowerShell for Microsoft 365.
3233

33-
Before you begin, the procedures in this article require you to connect to SharePoint Online. For instructions, see [Connect to SharePoint Online PowerShell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)
34+
Before you begin, the procedures in this article require you to connect to SharePoint. For instructions, see [Connect to SharePoint PowerShell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)
3435

3536
## Get a list of sites, groups, and users
3637

@@ -56,7 +57,7 @@ Get-SPOSite | ForEach {Get-SPOUser -Site $_.Url}
5657

5758
## Add a user to the Site Collection Administrators group
5859

59-
You use the `Set-SPOUser` cmdlet to add a user to the list of Site Collection Administrators on a site collection.
60+
You use the `Set-SPOUser` cmdlet to add a user to the list of site admins on a site collection.
6061

6162
```powershell
6263
$tenant = "<tenant name, such as litwareinc for litwareinc.com>"
@@ -76,7 +77,7 @@ $user = "opalc"
7677
Set-SPOUser -Site https://$tenant.sharepoint.com/sites/$site -LoginName $user@$tenant.com -IsSiteCollectionAdmin $true
7778
```
7879

79-
You can copy and paste these commands into Notepad, change the variable values for $tenant, $site, and $user to actual values from your environment, and then paste this into your SharePoint Online Management Shell window to run them.
80+
You can copy and paste these commands into Notepad, change the variable values for $tenant, $site, and $user to actual values from your environment, and then paste this into your SharePoint Management Shell window to run them.
8081

8182
## Add a user to other site collection groups
8283

@@ -129,7 +130,7 @@ New-SPOSiteGroup -Group $group -PermissionLevels $level -Site https://$tenant.sh
129130

130131
Sometimes you have to remove a user from a site or even all sites. Perhaps the employee moves from one division to another or leaves the company. You can do this for one employee easily in the UI, but this isn't easily done when you have to move a complete division from one site to another.
131132

132-
However by using the SharePoint Online Management Shell and CSV files, this is fast and easy. In this task, you'll use Windows PowerShell to remove a user from a site collection security group. Then you'll use a CSV file and remove lots of users from different sites.
133+
However by using the SharePoint Management Shell and CSV files, this is fast and easy. In this task, you'll use Windows PowerShell to remove a user from a site collection security group. Then you'll use a CSV file and remove lots of users from different sites.
133134

134135
We'll be using the 'Remove-SPOUser' cmdlet to remove a single Microsoft 365 user from a site collection group so we can see the command syntax. Here's how the syntax looks:
135136

@@ -273,13 +274,13 @@ However, what if you wanted to do this for every site? You can do this without h
273274
Get-SPOSite | ForEach {Get-SPOUser –Site $_.Url} | Format-Table -Wrap -AutoSize | Out-File c:\UsersReport.txt -Force -Width 360 -Append
274275
```
275276

276-
This report is fairly simple, and you can add more code to create more specific reports or reports that include more detailed information. But this should give you an idea of how to use the SharePoint Online Management Shell to manage users in the SharePoint Online environment.
277+
This report is fairly simple, and you can add more code to create more specific reports or reports that include more detailed information. But this should give you an idea of how to use the SharePoint Management Shell to manage users in the SharePoint environment.
277278

278279
## See also
279280

280-
[Connect to SharePoint Online PowerShell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)
281+
[Connect to SharePoint PowerShell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)
281282

282-
[Manage SharePoint Online with PowerShell](create-sharepoint-sites-and-add-users-with-powershell.md)
283+
[Manage SharePoint with PowerShell](create-sharepoint-sites-and-add-users-with-powershell.md)
283284

284285
[Manage Microsoft 365 with PowerShell](manage-microsoft-365-with-microsoft-365-powershell.md)
285286

microsoft-365/enterprise/manage-user-accounts-and-licenses-with-microsoft-365-powershell.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ title: "Manage Microsoft 365 user accounts, licenses, and groups with PowerShell
33
ms.author: kvice
44
author: kelleyvice-msft
55
manager: scotv
6-
ms.date: 11/13/2020
6+
ms.date: 01/24/2024
77
audience: ITPro
88
ms.topic: conceptual
99
ms.service: microsoft-365-enterprise
1010
ms.localizationpriority: medium
1111
ms.collection:
1212
- scotvorg
1313
- Ent_O365
14+
- must-keep
1415
f1.keywords:
1516
- CSH
1617
ms.custom:

0 commit comments

Comments
 (0)