pp managementapp add
Register management application for Power Platform
Usage
m365 pp managementapp add [options]
Options
--appId [appId]
Application (client) ID of the Microsoft Entra application registration to register as a management app. Specify either
appId
,objectId
orname
--objectId [objectId]
Object ID of the Microsoft Entra application registration to register as a management app. Specify either
appId
,objectId
orname
--name [name]
Name of the Microsoft Entra application registration to register as a management app. Specify either
appId
,objectId
orname
-h, --help [help]
Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options
,examples
,remarks
,response
,full
. Default isoptions
.--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]
Output type.
json
,text
,csv
,md
,none
. Defaultjson
.--verbose
Runs command with verbose logging.
--debug
Runs command with debug logging.
Remarks
To execute this command the first time you'll need sign in using the Microsoft Azure PowerShell application registration. You can do this by executing m365 login --appId 1950a258-227b-4e31-a9cf-717495945fc2
. To register the Microsoft Entra application registration that CLI for Microsoft 365 uses by default, execute m365 pp managementapp add--appId 31359c7f-bd7e-475c-86db-fdb8c937548e
.
For best performance use the appId
option to reference the Microsoft Entra application registration to update. If you use objectId
or name
, this command will first need to find the corresponding appId
for that application.
If the command finds multiple Microsoft Entra application registrations with the specified app name, it will prompt you to disambiguate which app it should use, listing the discovered object IDs.
Examples
Register CLI for Microsoft 365 as a management application for the Power Platform.
m365 pp managementapp add --appId 31359c7f-bd7e-475c-86db-fdb8c937548e
Register a Microsoft Entra application with the specified object ID as a management application for the Power Platform.
m365 pp managementapp add --objectId d75be2e1-0204-4f95-857d-51a37cf40be8
Register a Microsoft Entra application named My app as a management application for the Power Platform.
m365 pp managementapp add --name "My app"
Response
- JSON
- Text
- CSV
- Markdown
{
"applicationId":"31359c7f-bd7e-475c-86db-fdb8c937548e"
}
applicationId: 31359c7f-bd7e-475c-86db-fdb8c937548e
applicationId
31359c7f-bd7e-475c-86db-fdb8c937548e
# pp managementapp add --appId "31359c7f-bd7e-475c-86db-fdb8c937548e"
Date: 9/1/2023
Property | Value
---------|-------
applicationId | 31359c7f-bd7e-475c-86db-fdb8c937548e