Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPOCopilotPromoOptInStatus.md #745

Merged
merged 15 commits into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
external help file: sharepointonline.xml
Module Name: Microsoft.Online.SharePoint.PowerShell
online version: https://learn.microsoft.com/powershell/module/sharepoint-online/Get-SPOCopilotPromoOptInStatus
applicable: SharePoint Online
title: Get-SPOCopilotPromoOptInStatus
schema:
author: siruvanti
ms.author: siruvanti
ms.reviewer:
---

# Get-SPOCopilotPromoOptInStatus

## SYNOPSIS

Returns the Opt-In Copilot promo status for the tenant.

## SYNTAX
```powershell
Get-SPOCopilotPromoOptInStatus
```

## DESCRIPTION

This cmdlet returns the Opt-In Copilot promo status for the tenant.
If the promo status is enabled, the return value is `True`, otherwise the return value is `False`.

## EXAMPLES

### Example 1

```powershell
Get-SPOCopilotPromoOptInStatusEnabled
```
siruvanti marked this conversation as resolved.
Show resolved Hide resolved

Example 1 returns the value of the Opt-In promo status.

## RELATED LINKS
- [Set-SPOCopilotPromoOptInStatus](./Set-SPOCopilotPromoOptInStatus.md)
- [Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
external help file: sharepointonline.xml
Module Name: Microsoft.Online.SharePoint.PowerShell
online version: https://learn.microsoft.com/powershell/module/sharepoint-online/Set-SPOCopilotPromoOptInStatus
applicable: SharePoint Online
title: Set-SPOCopilotPromoOptInStatus
schema:
author: siruvanti
ms.author: siruvanti
ms.reviewer:
---
# Set-SPOCopilotPromoOptInStatus

## SYNOPSIS

Sets the Opt-In Copilot promo status for the tenant.

## SYNTAX
```powershell
Set-SPOCopilotPromoOptInStatus -IsCopilotPromoStatusEnabled <Boolean>

siruvanti marked this conversation as resolved.
Show resolved Hide resolved
```
## DESCRIPTION

This cmdlet sets the Opt-In Copilot promo status for the tenant to `True` or `False`.

## EXAMPLES

### Example 1

```powershell
Set-SPOCopilotPromoOptInStatusSetSuccessfully -SPOCopilotPromoOptInStatusEnabled $true
```

Example 1 sets the Opt-In Copilot promo status for the tenant to `True`.

### Parameter:

### -IsCopilotPromoStatusEnabled

Use this parameter to set Copilot opt-in promo status.

```yaml
Type: Boolean
Parameter Sets:
Aliases:
Applicable: SharePoint Online

Required: True
Default value: None
```
## RELATED LINKS
- [Get-SPOCopilotPromoOptInStatus](./Get-SPOCopilotPromoOptInStatus.md)
- [Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)