Skip to content

Update documentation and error handling for Viva Connections Dashboard ACE commands to reflect support for Team and Communication sites#5351

Merged
gautamdsheth merged 2 commits into
devfrom
fix/5349-home-site
Jun 13, 2026
Merged

Update documentation and error handling for Viva Connections Dashboard ACE commands to reflect support for Team and Communication sites#5351
gautamdsheth merged 2 commits into
devfrom
fix/5349-home-site

Conversation

@gautamdsheth

Copy link
Copy Markdown
Collaborator

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

Fixes #5349

What is in this Pull Request ?

Updated code to remove the home site validation and allow ACE to be added

…d ACE commands to reflect support for Team and Communication sites
Copilot AI review requested due to automatic review settings June 13, 2026 14:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Viva Connections Dashboard ACE cmdlets to no longer require the connected site to be a SharePoint Home Site, aligning behavior and documentation with dashboards being supported on Team and Communication sites (Fixes #5349).

Changes:

  • Removed Home Site validation and instead operate based on whether a Viva dashboard is present on the connected web.
  • Updated error handling paths to report when a dashboard cannot be found.
  • Updated cmdlet documentation synopsis text to reflect Team/Communication site support.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
src/Commands/Viva/AddVivaConnectionsDashboardACE.cs Removes Home Site gate; adds “dashboard exists” check and error path.
src/Commands/Viva/RemoveVivaConnectionsDashboardACE.cs Removes Home Site gate; adds “dashboard exists” check and error path.
src/Commands/Viva/SetVivaConnectionsDashboardACE.cs Removes Home Site gate; adds “dashboard exists” check and error path.
src/Commands/Viva/GetVivaConnectionsDashboardACE.cs Removes Home Site gate; now directly queries dashboard/ACEs (needs additional null-safety).
documentation/Add-PnPVivaConnectionsDashboardACE.md Updates synopsis/description to indicate Team/Communication site support.
documentation/Remove-PnPVivaConnectionsDashboardACE.md Updates synopsis to indicate Team/Communication site support.
documentation/Get-PnPVivaConnectionsDashboardACE.md Updates synopsis to indicate Team/Communication site support.
documentation/Set-PnPVivaConnectionsDashboardACE.md Updates synopsis to indicate Team/Communication site support.

Comment thread src/Commands/Viva/GetVivaConnectionsDashboardACE.cs
Comment thread src/Commands/Viva/AddVivaConnectionsDashboardACE.cs Outdated
Comment thread src/Commands/Viva/RemoveVivaConnectionsDashboardACE.cs Outdated
Comment thread src/Commands/Viva/SetVivaConnectionsDashboardACE.cs Outdated
Comment thread documentation/Add-PnPVivaConnectionsDashboardACE.md Outdated
Comment thread documentation/Add-PnPVivaConnectionsDashboardACE.md Outdated
Comment thread documentation/Get-PnPVivaConnectionsDashboardACE.md Outdated
Comment thread documentation/Remove-PnPVivaConnectionsDashboardACE.md Outdated
Comment thread documentation/Set-PnPVivaConnectionsDashboardACE.md Outdated
…d ACE commands to specify SharePoint Team site requirement
@gautamdsheth gautamdsheth merged commit 84f0da4 into dev Jun 13, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Creating a "Viva" Dashboard no longer requires a Home Site

2 participants