Get authentication code to get access token without user interaction

Rajarajacholan 0 Reputation points
2024-01-03T12:45:16.03+00:00

I have an unattended script that runs on linux and uploads files to sharepoint. It runs in a console and does not have any user interaction which uploads files every night to Share Point by consuming API calls which requires authentication code and access tokens. How can I get authentication code to get access token without user interaction?

Microsoft Security | Microsoft Authenticator
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 23,590 Reputation points Volunteer Moderator
    2024-01-05T05:06:51.22+00:00

    Thanks for posting your question in the Microsoft Q&A forum.
    There is no such public API to push notifications to the authenticator app, which can happen without interaction or initiation.

    However, some other providers might be helpful for you, including Auth0 or OneLogin.

    ** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.