Skip to content
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
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- Improved `Register-PnPAzureADApp` and `Register-PnPManagementShellAccess` cmdlets to reuse existing HTTP client instead of creating a new one. [#2682](https://github.com/pnp/powershell/pull/2682)
- Improved `Register-PnPAzureADApp` cmdlet based on compiler warnings. [#2682](https://github.com/pnp/powershell/pull/2682)
- `Connect-PnPOnline` will now throw a much clearer error message if the site to be connected doesn't exist when using the legacy Client Id with Secret (ACS) authentication mode. [#2707](https://github.com/pnp/powershell/pull/2707)
- Properties of `Get-PnPAzureADServicePrincipal` are now all typed instead of some of them returning unparsed JSON fragments [#2717](https://github.com/pnp/powershell/pull/2717)
- Properties of `Get-PnPAzureADServicePrincipal` are now all typed instead of some of them returning unparsed JSON fragments. [#2717](https://github.com/pnp/powershell/pull/2717)
- Marked `Get-PnPSubscribeSharePointNewsDigest` and `Set-PnPSubscribeSharePointNewsDigest` as obsolete as the implementation behind these feates has been changed in SharePoint Online causing them no longer to work. At present there's no alternative for this that we can call into thus we will have to remove these in a future version. [#2720](https://github.com/pnp/powershell/pull/2720)

### Removed

Expand Down
2 changes: 2 additions & 0 deletions documentation/Get-PnPSubscribeSharePointNewsDigest.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ You must connect to the tenant admin website (https://tenant-admin.sharepoint.co

Retrieves if the SharePoint News Digest mails are enabled or disabled for a particular user.

Note: The implementation behind this in SharePoint Online has changed causing this cmdlet to no longer work. Unfortunately there's no alternative way to call into this functionality from PnP PowerShell. We therefore have to remove this cmdlet in a future version. At present it does not work anymore.

## SYNTAX

```powershell
Expand Down
2 changes: 2 additions & 0 deletions documentation/Set-PnPSubscribeSharePointNewsDigest.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ You must connect to the tenant admin website (https://tenant-admin.sharepoint.co

Enables or disables the SharePoint News Digest mails for a particular user. Note that the disabling option is still experimental and may not work and may be removed again in the future.

Note: The implementation behind this in SharePoint Online has changed causing this cmdlet to no longer work. Unfortunately there's no alternative way to call into this functionality from PnP PowerShell. We therefore have to remove this cmdlet in a future version. At present it does not work anymore.

## SYNTAX

```powershell
Expand Down
2 changes: 2 additions & 0 deletions src/Commands/UserProfiles/GetSubscribeSharePointNewsDigest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@

using PnP.PowerShell.Commands.Base;
using PnP.PowerShell.Commands.Model;
using System;

namespace PnP.PowerShell.Commands.UserProfiles
{
[Cmdlet(VerbsCommon.Get, "PnPSubscribeSharePointNewsDigest")]
[OutputType(typeof(SubscribeSharePointNewsDigestStatus))]
[Obsolete("The implementation behind this feature has changed in SharePoint Online making it impossible at the moment to call this using PnP PowerShell. This cmdlet therefore no longer works and will be removed in a future version.")]
public class GetSubscribeSharePointNewsDigest : PnPAdminCmdlet
{
[Parameter(Mandatory = true, Position = 0)]
Expand Down
2 changes: 2 additions & 0 deletions src/Commands/UserProfiles/SetSubscribeSharePointNewsDigest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@

using PnP.PowerShell.Commands.Base;
using PnP.PowerShell.Commands.Model;
using System;

namespace PnP.PowerShell.Commands.UserProfiles
{
[Cmdlet(VerbsCommon.Set, "PnPSubscribeSharePointNewsDigest")]
[OutputType(typeof(string))]
[Obsolete("The implementation behind this feature has changed in SharePoint Online making it impossible at the moment to call this using PnP PowerShell. This cmdlet therefore no longer works and will be removed in a future version.")]
public class SetSubscribeSharePointNewsDigest : PnPAdminCmdlet
{
[Parameter(Mandatory = true, Position = 0)]
Expand Down