Skip to content

Commit 629fc94

Browse files
000-884: approve files
1 parent 9b7f281 commit 629fc94

14 files changed

+390
-8
lines changed

articles/en/InformationProtection/Audit your sensitivity labels with Powershell.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: 'Audit sensitivity labels with Powershell'
44
hero_image: '/img/IMG_20220521_140146.jpg'
55
show_sidebar: false
66
hero_height: is-small
7-
date: '2022-08-17'
7+
date: '2022-08-17 <br/>Updated: 2025-04-05'
88
---
99

1010

@@ -20,7 +20,7 @@ The sensitivity labels will show as already applied labels, if they are being ap
2020

2121
Install Exchange Online module and Connect to Security & Compliance Center PowerShell.
2222
```powershell
23-
Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.5
23+
Install-Module -Name ExchangeOnlineManagement -RequiredVersion 3.6.0
2424
Connect-IPPSSession -UserPrincipalName User@contoso.com
2525
```
2626

articles/en/Other/exologinfails.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
ExchangeOnlineManagement fails to connect
3+
4+
5+
Connect-ExchangeOnline -UserPrincipalName
6+
InvalidOperation: You cannot call a method on a null-valued expression.
7+
8+
9+
Check how many you have
10+
11+
get-module -ListAvailable | where {$_.Name -match "Exchange"}
12+
13+
Uninstall-Module -Name ExchangeOnlineManagement -force
14+
15+
get-module -ListAvailable | where {$_.Name -match "Exchange"}
16+
17+
18+
Install-Module -Name ExchangeOnlineManagement -RequiredVersion 3.6.0
19+
20+
import-module -Name ExchangeOnlineManagement -MinimumVersion 3.0.0 -force
+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
layout: page
3+
title: 'Private content mode will retire as of June 30th, 2025'
4+
hero_image: '/img/IMG_20220521_140146.jpg'
5+
show_sidebar: false
6+
hero_height: is-small
7+
date: '2025-03-29'
8+
---
9+
10+
11+
## What is Private Content Mode?
12+
13+
14+
Private Content Mode in Viva Engage is an admin-only setting that allows administrators to view private messages between users and posts in private groups they are not members of.
15+
16+
17+
<img src="/articles/images/veprivatecontentmode.png" width="400">
18+
19+
20+
<br/>
21+
22+
## Deprecated
23+
24+
Viva Engage will no longer support private content mode, present within the classic Yammer admin center. Verified admins will no longer be able to enable or disable this feature. If the feature was left on by a verified admin, then it will be disabled for them.
25+
26+
<br/>
27+
28+
## Alternatives
29+
30+
Global Administrator or Groups Administrator can search for private communities in Engage and join them without needing explicit approval. This makes the Private Content Mode functionality redundant and is probably one of the reasons why the feature will not be migrated to the new Admin Center and eventually deprecated.
31+
32+
<br/>
33+
34+
## Message ID: MC1045211
35+
36+
*Viva Engage will no longer support private content mode, present within the classic Yammer admin center. Verified admins will no longer be able to enable or disable this feature. If the feature was left on by a verified admin, then it will be disabled for them. There are alternative methods that can fulfill the needs previously met by private content mode: Viewing private community content without being a member: Users with the Global Administrator or Groups Administrator role can search for private communities within Engage and join these communities without requiring explicit approvals. Learn more about other Entra ID roles here (https://Microsoft Entra built-in roles - Microsoft Entra ID | Microsoft Learn). Viewing community admins and members for private communities without being a member: Since Engage Communities are backed by Microsoft 365 groups, the list of group owners and group members are visible within Entra ID for all users. Learn more about group management here (https://Learn about groups, group membership, and access - Microsoft Entra | Microsoft Learn). Handling legal/audit cases in Engage: Compliance administrators, eDiscovery managers, and eDiscovery administrators can access, search, and export private community and private message content on Viva Engage. Learn more about our eDiscovery standard solution here (https://learn.microsoft.com/en-us/purview/edisc). Admins are also able to perform network data exports (https://learn.microsoft.com/en-us/viva/engage/eac-as-manage-data) which can be manipulated to handle other advanced use cases.*
37+
38+
##### What you need to do to prepare
39+
*There will be no exceptions to the retirement which will be done on June 30th, 2025. We recommend you communicate clearly and early to admins of this impending change and coordinate an effort to understand the alternative solutions proposed above.*
40+
41+
42+
<br/>
43+
44+
<!-- Default Statcounter code for VE - all
45+
https://powershellscripts.github.io/articles/en/Viva/leavecommunity/
46+
-->
47+
<script type="text/javascript">
48+
var sc_project=13108553;
49+
var sc_invisible=1;
50+
var sc_security="3592e88b";
51+
var sc_client_storage="disabled";
52+
</script>
53+
<script type="text/javascript"
54+
src="https://www.statcounter.com/counter/counter.js"
55+
async></script>
56+
<noscript><div class="statcounter"><a title="Web Analytics"
57+
href="https://statcounter.com/" target="_blank"><img
58+
class="statcounter"
59+
src="https://c.statcounter.com/13108553/0/3592e88b/1/"
60+
alt="Web Analytics"
61+
referrerPolicy="no-referrer-when-downgrade"></a></div></noscript>
62+
<!-- End of Statcounter Code -->

articles/en/Viva/translate.md

+52-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,55 @@ hero_height: is-small
77
date: '2025-03-25'
88
---
99

10-
Viva Engage offers automated translation of posts for users.
10+
Viva Engage offers automated translation of posts for users. This long-standing feature continues to help organizations communicate effortlessly, making Viva Engage a powerful platform for global teamwork. 🌍💬
11+
12+
<br/>
13+
14+
# How It Works
15+
When a post is in a different language than your default, a **Show Translation** option appears.
16+
Click on it to see the text translated using Microsoft's AI-powered translation services. The language is automatically recognized.
17+
18+
19+
<img src="/articles/images/vetranslate1.png" width="400">
20+
21+
22+
You can revert to the original language at any time.
23+
24+
<img src="/articles/images/vetranslate2.png" width="400">
25+
26+
<br/>
27+
28+
# Enable in Admin Center
29+
30+
The setting can be adjusted only in the classic admin center at the time of writing this (March 2025).
31+
32+
<img src="/articles/images/vetranslate.png" width="400">
33+
34+
35+
36+
37+
38+
39+
40+
41+
42+
43+
<!-- Default Statcounter code for VE - all
44+
https://powershellscripts.github.io/articles/en/Viva/leavecommunity/
45+
-->
46+
<script type="text/javascript">
47+
var sc_project=13108553;
48+
var sc_invisible=1;
49+
var sc_security="3592e88b";
50+
var sc_client_storage="disabled";
51+
</script>
52+
<script type="text/javascript"
53+
src="https://www.statcounter.com/counter/counter.js"
54+
async></script>
55+
<noscript><div class="statcounter"><a title="Web Analytics"
56+
href="https://statcounter.com/" target="_blank"><img
57+
class="statcounter"
58+
src="https://c.statcounter.com/13108553/0/3592e88b/1/"
59+
alt="Web Analytics"
60+
referrerPolicy="no-referrer-when-downgrade"></a></div></noscript>
61+
<!-- End of Statcounter Code -->

articles/en/spo/approvefiles.md

+130
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
---
2+
layout: page
3+
title: 'Approve site pages using PnP'
4+
image: 'https://unsplash.com/s/photos/random'
5+
hero_image: '/img/IMG_20220521_140146.jpg'
6+
show_sidebar: false
7+
hero_height: is-small
8+
date: '2025-04-03'
9+
---
10+
11+
12+
Especially useful if you need to approve a lot of files in a batch. Works for approving SharePoint pages, news items, or library files.
13+
14+
15+
# Get pages
16+
17+
First let us get the pages from the library and view their approval status.
18+
19+
```powershell
20+
21+
Connect-PnPOnline -Url https://yourtenant.sharepoint.com/sites/yoursite -Interactive -ClientId "b8d9-yourappid-709de"
22+
23+
Get-PnPListItem -List "Site Pages" | Select-Object @{Name="FileRef";Expression={$_.FieldValues["FileRef"]}},
24+
@{Name="_ModerationStatus";Expression={$_.FieldValues["_ModerationStatus"]}},
25+
@{Name="PromotedState";Expression={$_.FieldValues["PromotedState"]}}, Id
26+
27+
```
28+
29+
30+
<br/>
31+
32+
# Approve a page
33+
34+
In order to approve a news or a page in SharePoint, you need to set _ModerationStatus property to 0.
35+
36+
```powershell
37+
38+
Set-PnPListItem -List "Site Pages" -Identity 1090 -Values @{"_ModerationStatus" = "0"}
39+
```
40+
41+
There are 4 values for the Moderation Status
42+
0 - Approved
43+
1 - Rejected
44+
2 -
45+
3 -
46+
47+
<br/>
48+
49+
# Approve all pages
50+
51+
```powershell
52+
# Connect to SharePoint
53+
Connect-PnPOnline -Url "https://yourtenant.sharepoint.com/sites/yoursite" -Interactive -ClientId "b8d9-yourappid-709de"
54+
55+
# Get all items from the "Site Pages" library
56+
$pages = Get-PnPListItem -List "Site Pages"
57+
58+
# Loop through each item and approve it
59+
foreach ($page in $pages) {
60+
$itemId = $page.Id
61+
Write-Host "Approving page with ID: $itemId"
62+
63+
Set-PnPListItem -List "Site Pages" -Identity $itemId -Values @{"_ModerationStatus" = "0"}
64+
}
65+
66+
Write-Host "All pages have been approved!"
67+
```
68+
69+
<br/>
70+
71+
# Reject a page
72+
73+
In order to reject a news or a page in SharePoint, you need to set _ModerationStatus property to 1.
74+
75+
```powershell
76+
77+
Set-PnPListItem -List "Site Pages" -Identity 1090 -Values @{"_ModerationStatus" = "1"}
78+
```
79+
80+
81+
<br/>
82+
83+
84+
# Reject all pages
85+
86+
87+
```powershell
88+
89+
# Connect to SharePoint
90+
Connect-PnPOnline -Url "https://yourtenant.sharepoint.com/sites/yoursite" -Interactive
91+
92+
# Get all items from the "Site Pages" library
93+
$pages = Get-PnPListItem -List "Site Pages" -Fields "FileLeafRef"
94+
95+
# Loop through each item and reject it
96+
foreach ($page in $pages) {
97+
$itemId = $page.Id
98+
$fileName = $page.FieldValues["FileLeafRef"]
99+
100+
Write-Host "Rejecting page: $fileName (ID: $itemId)"
101+
102+
Set-PnPListItem -List "Site Pages" -Identity $itemId -Values @{"_ModerationStatus" = "1"}
103+
}
104+
105+
Write-Host "All pages have been rejected!"
106+
107+
```
108+
109+
110+
111+
112+
<!-- Default Statcounter code for spo - sitepagesAll
113+
https://powershellscripts.github.io/articles/en/spo/approvefiles
114+
-->
115+
<script type="text/javascript">
116+
var sc_project=13111303;
117+
var sc_invisible=1;
118+
var sc_security="cef0a9f7";
119+
var sc_client_storage="disabled";
120+
</script>
121+
<script type="text/javascript"
122+
src="https://www.statcounter.com/counter/counter.js"
123+
async></script>
124+
<noscript><div class="statcounter"><a title="real time web
125+
analytics" href="https://statcounter.com/"
126+
target="_blank"><img class="statcounter"
127+
src="https://c.statcounter.com/13111303/0/cef0a9f7/1/"
128+
alt="real time web analytics"
129+
referrerPolicy="no-referrer-when-downgrade"></a></div></noscript>
130+
<!-- End of Statcounter Code -->

articles/en/spo/ctget.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ A Content Type in SharePoint is a reusable collection of metadata, templates, an
1717
<img src="/articles/img/ctget1.png" width="600">
1818

1919

20-
This article shows you how to get all or selected content types that you have in your list or your SharePoint site.
20+
This article shows you how to get all or selected content types that you have in your:
21+
* list or library
22+
* SharePoint site.
2123

2224
<br/><br/>
2325

articles/en/spo/foldersinsitepages.md

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
---
2+
layout: page
3+
title: 'Enable folders in SharePoint Site Pages library'
4+
image: 'https://unsplash.com/s/photos/random'
5+
hero_image: '/img/IMG_20220521_140146.jpg'
6+
show_sidebar: false
7+
hero_height: is-small
8+
date: '2025-04-01'
9+
---
10+
11+
# Use Views instead
12+
13+
By default, folders in the Site Pages library of SharePoint are not visible when using the New button. This is because the Site Pages library is designed to store modern pages (e.g., News, Site Pages), rather than organizing content in folders. The option to create folders via the New button is intentionally limited in this library to keep the user experience focused on modern content creation. To use a stereotype: It's not a bug, it's a feature.
14+
15+
16+
If you need to organize your pages into specific folders, you can manually create them, but the strong recommendation here is to create additional **views and filters**. By customizing views, you can display content in a way that aligns with your team's specific needs, such as showing pages by date, author, or status.
17+
Using filters allows you to narrow down your content even further, ensuring that only the most relevant information is visible at any given time. This can be especially helpful in larger libraries or sites with numerous pages, as it helps users quickly find the content they need without unnecessary scrolling.
18+
19+
For instance, you could set up views to show:
20+
21+
* Published pages versus draft pages
22+
23+
* Pages by their creation date or modification date
24+
25+
* Pages grouped by category
26+
27+
28+
<br/>
29+
30+
# How to enable folders in the Site Pages library
31+
32+
To enable folders in the **Site Pages** library, follow these steps:
33+
34+
1. Go to your **SharePoint site**.
35+
2. Navigate to the **Site Pages** library.
36+
3. Click on the **Settings gear** in the top right corner, and select **Library settings**.
37+
4. Under the **General Settings**, click on **Advanced settings**.
38+
5. In the **Folder** section, set **Make "New Folder" command available?** to **Yes**.
39+
6. Click **OK** to save your changes.
40+
41+
42+
43+
<img src="/articles/images/spomakenewfolder.png" width="400">
44+
45+
Now you can create folders and organize your pages!
46+
47+
48+
49+
<!-- Default Statcounter code for spo - sitepagesAll
50+
https://powershellscripts.github.io/articles/en/spo/approvefiles
51+
-->
52+
<script type="text/javascript">
53+
var sc_project=13111303;
54+
var sc_invisible=1;
55+
var sc_security="cef0a9f7";
56+
var sc_client_storage="disabled";
57+
</script>
58+
<script type="text/javascript"
59+
src="https://www.statcounter.com/counter/counter.js"
60+
async></script>
61+
<noscript><div class="statcounter"><a title="real time web
62+
analytics" href="https://statcounter.com/"
63+
target="_blank"><img class="statcounter"
64+
src="https://c.statcounter.com/13111303/0/cef0a9f7/1/"
65+
alt="real time web analytics"
66+
referrerPolicy="no-referrer-when-downgrade"></a></div></noscript>
67+
<!-- End of Statcounter Code -->

articles/img/spomakenewfolder.png

81.3 KB
Loading

articles/img/veprivatecontentmode.png

44.2 KB
Loading

articles/img/vetranslate.png

122 KB
Loading

articles/img/vetranslate1.png

48.9 KB
Loading

articles/img/vetranslate2.png

16.1 KB
Loading

0 commit comments

Comments
 (0)