-
Notifications
You must be signed in to change notification settings - Fork 399
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Reporting an Issue or Missing Feature
I'm reporting an issue with the Add-PnPApplicationCustomizer cmdlet.
Expected behavior
When specifying the -Title parameter in Add-PnPApplicationCustomizer, I expect the Name property of the created customizer to use the provided Title value.
Actual behavior
The Add-PnPApplicationCustomizer cmdlet creates a customizer with the specified properties, but the Name property is set to a GUID rather than using the Title parameter value. As seen in the screenshot, when creating a customizer with Title "google-analytics", the Name property is still set to a GUID "{8e70d964-070b-4b39-8498-7eafe74f3912}".
Steps to reproduce behavior
# Create an application customizer with a specific title
Add-PnPApplicationCustomizer -Title google-analytics -ClientSideComponentId a3cfa2fa-6f14-44f0-892e-ad9d97a3d561 -Scope Site -ClientSideComponentProperties "{\"trackingID\":\"GTM-ABCDEF\"}"
# Verify that the name property is not set to the title value
Get-PnPApplicationCustomizer | fl name,ClientSideComponentProperties,*id*What is the version of the Cmdlet module you are running?
PnP.PowerShell 2.99.145
Which operating system/environment are you running PnP PowerShell on?
- Windows
- Linux
- MacOS
- Azure Cloud Shell
- Azure Functions
- Other : please specify
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
