Description
Check out this example:
m365 login --authType secret --secret topSeCr3t@007
That's not a good example, as it would not log you in successfully. You need the --appId value as well. And if your app registration is configured as single tenant, you will need the --tenant option as well. Otherwise you get an error. An example should be able to be run as it is (with the right values), so we should add the options here.
All the examples for logging in with a certificate, have the same deficiency and should be fixed as well.
Description
Check out this example:
That's not a good example, as it would not log you in successfully. You need the
--appIdvalue as well. And if your app registration is configured as single tenant, you will need the--tenantoption as well. Otherwise you get an error. An example should be able to be run as it is (with the right values), so we should add the options here.All the examples for logging in with a certificate, have the same deficiency and should be fixed as well.