Skip to content

Commit d1857bd

Browse files
authored
Create Get-SPOCopilotPromoOptInStatus.md
1 parent 6265a4b commit d1857bd

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
Get-SPOCopilotPromoOptInStatus
2+
---
3+
external help file: sharepointonline.xml
4+
Module Name: Microsoft.Online.SharePoint.PowerShell
5+
online version: https://learn.microsoft.com/powershell/module/sharepoint-online/Get-SPOCopilotPromoOptInStatus
6+
applicable: SharePoint Online
7+
title: Get-SPOCopilotPromoOptInStatus.md
8+
schema:
9+
author: swathi.iruvanti
10+
ms.author: siruvanti
11+
ms.reviewer:
12+
---
13+
# Get-SPOCopilotPromoOptInStatus
14+
15+
## SYNOPSIS
16+
17+
Returns the true or false Opt-In Copilot promo status
18+
19+
## SYNTAX
20+
```powershell
21+
Get-SPOCopilotPromoOptInStatus
22+
```
23+
24+
## DESCRIPTION
25+
26+
The `Get-SPOCopilotPromoOptInStatus` cmdlet retrieves and returns the opt-in Copilot promo status. The user must be a SharePoint Admin to run the cmlets.
27+
28+
## EXAMPLES
29+
30+
### Example 1
31+
32+
```powershell
33+
Get-SPOCopilotPromoOptInStatusEnabled
34+
true
35+
```
36+
37+
Example 1: Success message shown to user when commandlet returns a positive flag from Tenant store
38+
39+
### Example 2
40+
41+
```powershell
42+
Get-SPOCopilotPromoOptInStatusDisabled
43+
False
44+
```
45+
46+
Example 2: Success message shown to user when commandlet returns a negative flag from Tenant store
47+
48+
## RELATED LINKS
49+
50+
Set-SPOCopilotPromoOptInStatus
51+
![image](https://github.com/user-attachments/assets/09e50724-88f0-4e26-8298-085d62c3bdbd)

0 commit comments

Comments
 (0)