Skip to content

Conversation

@nabeelnaiyer
Copy link
Contributor

Add the following new commands to powershell to support branding assets for the file request feature:
Add-SPOFileRequestBrandingProfile
Get-SPOFileRequestBrandingProfiles
Remove-SPOFileRequestBrandingProfile
Switch-SPOFileRequestBrandingProfiles

Documentation is added for each of the above commands

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 724bb66:

⚠️ Validation status: warnings

File Status Preview URL Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md ⚠️Warning View (sharepoint-ps) Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOFileRequestBrandingProfile.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOFileRequestBrandingProfiles.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Remove-SPOFileRequestBrandingProfile.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Switch-SPOFileRequestBrandingProfiles.md ✅Succeeded View (sharepoint-ps)

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md

  • Line 0, Column 0: [Warning: PSMD2Yaml_InconsistentCmdletsInModule] Inconsistent cmdlets found in module: Microsoft.Online.SharePoint.PowerShell. 4 cmdlets in the module folder but not listed in the module file: Add-SPOFileRequestBrandingProfile, Get-SPOFileRequestBrandingProfiles, Remove-SPOFileRequestBrandingProfile, Switch-SPOFileRequestBrandingProfiles.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.


Note:
If you remove the primary profile and a secondary profile exists, the secondary profile will automatically be promoted to primary. This ensures that the file request feature always has a primary branding profile if one is available.

Copy link
Contributor

@samkabue samkabue Jul 26, 2025

Choose a reason for hiding this comment

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

use this format:

> [!NOTE]
> <your text goes here>
``` #Closed

Copy link
Contributor

Choose a reason for hiding this comment

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

(see other files in this repo for example usage)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Modified to use [!] format

@samkabue
Copy link
Contributor

samkabue commented Jul 26, 2025

You also need to update the TOC file -- Microsoft.Online.SharePoint.PowerShell.md #Closed

@samkabue samkabue added the Back to submitter The pull request didn't pass the review criteria and has been returned to the writer for updates label Jul 26, 2025
@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 7f97d5f:

⚠️ Validation status: warnings

File Status Preview URL Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md ⚠️Warning View (sharepoint-ps) Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOFileRequestBrandingProfile.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOFileRequestBrandingProfiles.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Remove-SPOFileRequestBrandingProfile.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Switch-SPOFileRequestBrandingProfiles.md ✅Succeeded View (sharepoint-ps)

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md

  • Line 0, Column 0: [Warning: PSMD2Yaml_InconsistentCmdletsInModule] Inconsistent cmdlets found in module: Microsoft.Online.SharePoint.PowerShell. 4 cmdlets in the module folder but not listed in the module file: Add-SPOFileRequestBrandingProfile, Get-SPOFileRequestBrandingProfiles, Remove-SPOFileRequestBrandingProfile, Switch-SPOFileRequestBrandingProfiles.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

Get-SPOFileRequestBrandingProfiles
```

This example retrieves the branding profiles configured for the file request feature. If profiles have been added using Add-SPOFileRequestBrandingProfile, the output will include the asset library URL and details abou the branding profiles such as file names and URLs for primary and secondary profiles if present.
Copy link
Contributor

@samkabue samkabue Jul 29, 2025

Choose a reason for hiding this comment

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

Add-SPOFileRequestBrandingProfile

back tick #Closed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added back tick

@learn-build-service-prod
Copy link
Contributor

@nabeelnaiyer
Copy link
Contributor Author

@microsoft-github-policy-service agree company="Microsoft"

@samkabue samkabue removed the Back to submitter The pull request didn't pass the review criteria and has been returned to the writer for updates label Jul 29, 2025
@nabeelnaiyer nabeelnaiyer marked this pull request as ready for review July 30, 2025 00:48
@learn-build-service-prod
Copy link
Contributor

@samkabue samkabue added the Sign off The pull request is ready to be reviewed and merged by PubOps label Jul 30, 2025
@aditisrivastava07 aditisrivastava07 self-assigned this Jul 30, 2025
@aditisrivastava07 aditisrivastava07 added the In review PubOps is reviewing the pull request label Jul 30, 2025
@aditisrivastava07 aditisrivastava07 merged commit 3f491e0 into MicrosoftDocs:main Jul 30, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

In review PubOps is reviewing the pull request Microsoft submitter Sign off The pull request is ready to be reviewed and merged by PubOps

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants