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

[BUG] Add-PnPApplicationCustomer -Title Does not Update Name #4754

Open
1 of 6 tasks
YuriySamorodov opened this issue Feb 24, 2025 · 0 comments
Open
1 of 6 tasks

[BUG] Add-PnPApplicationCustomer -Title Does not Update Name #4754

YuriySamorodov opened this issue Feb 24, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@YuriySamorodov
Copy link
Contributor

YuriySamorodov commented Feb 24, 2025

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}".

Image

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
@YuriySamorodov YuriySamorodov added the bug Something isn't working label Feb 24, 2025
@YuriySamorodov YuriySamorodov changed the title [BUG] [BUG] Add-PnPApplicationCustomer -Title Does not Update Name Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant