Skip to content

The --maker-onboarding-markdown parameter for pac admin set-governance-config does not accept \n newline characters #984

Open

Description

Describe the bug
When executing pac admin set-governance-config where its --maker-onboarding-markdown value contains a newline character \n, the newline character is interpreted as a literal \n as opposed to it being interpreted as a newline.

To Reproduce
Steps to reproduce the behavior:

  1. In PowerShell 7, execute pac admin set-governance-config where the --maker-onboarding-markdown parameter value contains a \n on an environment.
  2. For the environment where you've executed pac admin set-governance-config, open up the environment's make.powerapps.com home page to view the onboarding markdown message.
  3. You should see that the onboarding markdown message contains \n that was interpreted as a string literal where it displays \n as opposed to a newline.

Expected behavior
Instead of the onboarding markdown message displaying \n, it should interpret \n as a newline.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • PAC CLI Version: 1.33.5+g1621296
  • PowerShell Version: 7.4.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions