question

Srini-4386 avatar image
0 Votes"
Srini-4386 asked JohnHaddock-9082 commented

Create a service account for SharePoint Online

Hi Guys,

Is there any way to create a "service account for SharePoint Online" we want to manage this account for running flows and other admin activities

office-sharepoint-online
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

trevorseward avatar image
0 Votes"
trevorseward answered JohnHaddock-9082 commented

There's no such thing as a service account. They're just another user account. You'll need to license it appropriately. Otherwise, for automation, always look to using Client ID + Certificate/Secret solutions rather than username/password, especially as you would not want to disable MFA on an elevated account.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks Trevor for your response

0 Votes 0 ·

With reference to your response above, does that mean a standard user account (for a machine rather than a person) can be created to cover the use of a service account (i.e. for where an application uses SharePoint purely as a backend doc storage service and manages user access). Or that service accounts are not supported anymore (i.e. you can't do as I describe under the terms of a user licence)?

0 Votes 0 ·
EchoDu-MSFT avatar image
0 Votes"
EchoDu-MSFT answered Srini-4386 commented

Hello @Srini-4386 ,

In SharePoint Online environment, users don’t have the ability to manage SharePoint services as what they can in on premises environment, no such “Service Account” concept in SharePoint Online.

You could refer to this article to perform a SharePoint App-Only Authentication In Power Automate:

How To Perform A SharePoint App-Only Authentication In Power Automate

Thanks,
Echo Du
====================
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.





· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks Echo for your response

0 Votes 0 ·

Echo do you know how to navigate to the app creation page to create secret id and password ?

https://{tenant name}.sharepoint.com/_layouts/15/appregnew.aspx ?

0 Votes 0 ·