If you create an app with the spa auth platform you will need to add a redirect URI.
However, the CLI does not validate that. So you can run the command as follows:
m365 entra app add --name "Some app" --platform spa
...and get an app without SPA platform. It should validate that the --redirectUris option is missing.
The same goes for platform web and publicClient.
CLI Version
10.2
If you create an app with the spa auth platform you will need to add a redirect URI.
However, the CLI does not validate that. So you can run the command as follows:
m365 entra app add --name "Some app" --platform spa...and get an app without SPA platform. It should validate that the
--redirectUrisoption is missing.The same goes for platform
webandpublicClient.CLI Version
10.2