Under Authentication set Allow public client flows to Yes.
Under API permissions add Tasks.Read.
Create a $XDG_CONFIG_HOME/twtodo/credentials.yaml file:
# Tenant ID of the application on Azure. Set the value to 'consumers' if your
# Microsoft Account is a personal account.
tenant_id: <tenantID>
# Client ID of the application on Azure.
client_id: <clientID>
Create a $XDG_CONFIG_HOME/twtodo/config.yaml file:
server:
port: 41001
go install github.com/simachri/taskwarrior-ms-todo/cmd/twtodo@latest
Usage
Start server
Start the server that authenticates to Microsoft Azure and handles the commands from
the client:
twtodo up
Client: Pull tasks from a To-Do list
When the server is started, execute from another terminal session: