Skip to content

Blocked by corporate OneDrive because of default passwords #5346

Description

@svick

I work at Microsoft and after I installed PnP.PowerShell 3.2.0, I received 4 emails that a file in my OneDrive was blocked.

The file in question is Documents/PowerShell/Modules/PnP.PowerShell/3.2.0/PnP.PowerShell-Help.xml and the stated issue is that "Purview Information Protection" (whatever that is) marked it as:

Item contains the following sensitive information: CEP: Default Passwords

I can see that your documentation contained in that file does have lines like:

Get-PnPAzureCertificate -Path "mycert.pfx" -Password (ConvertTo-SecureString -String "YourPassword" -AsPlainText -Force)

or:

Register-PnPEntraIDApp -ApplicationName TestApp -Tenant yourtenant.onmicrosoft.com -CertificatePath c:\certificate.pfx -CertificatePassword (ConvertTo-SecureString -String "password" -AsPlainText -Force)

I guess that's what it is complaining about?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions