On Mon, 3 Oct 2022, Stephen Isard wrote:
...
'invalid_client', 'error_description': "AADSTS70002: The provided client
is not supported for this feature. The client application must be
marked as 'mobile.
I can't see how to mark the client registration as mobile. Did "mobile" come
up when you registered your client?
Never mind. I've found it. At the bottom of the "Authentication" menu
page, there is
Allow public client flows
Enable the following mobile and desktop flows:
No keyboard (Device Code Flow)
and you have to change the default "no" to "yes"
Stephen Isard