Hello @mikeburke106 ,
Welcome to the Community!
When using M2M, client credentials grant is used which authenticates the client (application). There is no user involved in this flow.
This question is very similar to a post in the Community and I am attaching for your reference.
Hope this info helps and do let me know if you have other questions.
Thanks!