Description
If the CLI is connected in app-only mode with a Client ID and Secret (authType : secret), an error message must be displayed to the user on executing any spo command, indicating that the operation will fail and recommend the user to connect using an alternate login type to execute spo commands.
The base SPO command should be updated to check the authType and display the error accordingly.
Additional Information
Based on the proposal in #2171. the login command will be extended to support authentication using client ID and secret. As SharePoint does not support auth using AAD Client ID and secret at the moment, the CLI commands calling SharePoint APIs will fail.
This issue can be implemented after #2171 is completed.
Description
If the CLI is connected in app-only mode with a Client ID and Secret (authType :
secret), an error message must be displayed to the user on executing anyspocommand, indicating that the operation will fail and recommend the user to connect using an alternatelogintype to executespocommands.The base SPO command should be updated to check the
authTypeand display the error accordingly.Additional Information
Based on the proposal in #2171. the
logincommand will be extended to support authentication using client ID and secret. As SharePoint does not support auth using AAD Client ID and secret at the moment, the CLI commands calling SharePoint APIs will fail.This issue can be implemented after #2171 is completed.