Usage
m365 login [options]
Description
Allow to pass in clientId and tenantId as options to the m365 login command when using the certificate authentication option.
Options
Would leverage the existing set of options and add :
| Option |
Description |
—clientId [clientId] |
Pass in the clientId of the custom application, only required when using certificate authentication |
—tenantId [tenantId] |
Pass in the tenantId where the custom application is registered, only required when using certificate authentication |
Additional Information
I believe passing in both values instead of setting them as environment variables would make it more straightforward to use, would be more in line with how all commands in CLI work (none of them require environment variables) and more in line with how PnP.PowerShell handles this.
Usage
m365 login [options]
Description
Allow to pass in clientId and tenantId as options to the m365 login command when using the certificate authentication option.
Options
Would leverage the existing set of options and add :
—clientId [clientId]—tenantId [tenantId]Additional Information
I believe passing in both values instead of setting them as environment variables would make it more straightforward to use, would be more in line with how all commands in CLI work (none of them require environment variables) and more in line with how PnP.PowerShell handles this.