Skip to content

Adds command to remove profile card properties #5620

Description

@martinlingstuyl

Usage

m365 tenant people profilecardproperty remove [options]

Description

Removes a custom attribute as a profile card property

Options

Option Description
-n, --name <name> The name of the property to remove. Allowed values: userPrincipalName, fax, streetAddress, postalCode, stateOrProvince, alias, extensionAttribute1, extensionAttribute2, extensionAttribute3, extensionAttribute4, extensionAttribute5, extensionAttribute6, extensionAttribute7, extensionAttribute8, extensionAttribute9, extensionAttribute10, extensionAttribute11, extensionAttribute12, extensionAttribute13, extensionAttribute14, extensionAttribute15
-f, --force Don't prompt for confirmation.

Examples

Removes the UPN as a profile property to the profile card

m365 tenant people profilecardproperty remove --name userPrincipalName

Removes a custom extension attribute from the profile card

m365 tenant people profilecardproperty remove --name extensionAttribute1

Additional Info

May need a new scope: PeopleSettings.ReadWrite.All

More Information

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions