Questions tagged [authentication]
Validation the identity of the user, usually with username and password authentication.
717 questions
0
votes
0
answers
29
views
Account Lockout Not Enforced via API in SharePoint Online
I have observed that after multiple failed login attempts (e.g., 5), the account gets locked when trying to log in through the login screen which is expected.
However, when making authentication ...
0
votes
0
answers
69
views
Using CSOM with Basic Authentication in SharePoint Server 2016 (On-Prem)
I am trying to use the CSOM library with Microsoft SharePoint Server 2016 using the latest Microsoft.SharePoint2016.CSOM NuGet package (16.0.4690.1000).
The same code works with SharePoint Online ...
0
votes
0
answers
171
views
Accessing SharePoint online files with "service account"
I have been using app credentials to access SharePoint via Microsoft's .NET libraries for years. I have joined a new organization that refused to do so, so they added a new user without an inbox to ...
2
votes
1
answer
282
views
Connect-PnPOnline and long running proces. Token expired
I use Connect-PnpOnline with -interactive because my account uses MFA. I can connect and run my scripts against my site. I have a script that runs very long. During the execution of the script the ...
0
votes
1
answer
168
views
Set-PnPSiteVersionPolicy for thousands of sites in SharePoint Online - Cannot call this API with an app-only principal
We have 5000+ SharePoint Online sites in our tenant where i have to change the Site Version setting to automatic for all existing document libraries.
I am using the below to connect using an Azure App ...
0
votes
2
answers
68
views
Unattended login to show SharePoint Pages
I have a digital signage display that needs to show content from Microsoft 365 services like SharePoint pages, Excel files, and Word documents.
The display operates unattended and has no keyboard or ...
1
vote
1
answer
62
views
Am I stuck with the Server Side Object Model when developing for on-prem, internet-facing SharePoint?
I'm in a quandary and I can't figure out the best course of action to take.
I need to develop a page that will run on SharePoint Subscription Edition but will be an authenticated internet-facing site. ...
1
vote
0
answers
229
views
Missing Approved requests - Broken API Access
I am a developer, and we are currently developing an application. Recently, we added new API permissions in SPFx.
After accepting the permissions and refreshing the page, almost all permissions were ...
1
vote
1
answer
255
views
Log into SharePoint online through C# and using Office Dev PnP Core
I have a console application in which I am logging into SharePoint using code below.
try
{
var authManager = new OfficeDevPnP.Core.AuthenticationManager();
using (var clientContext = ...
0
votes
1
answer
285
views
SharePoint Online authentication simply doesn't work
I have a method like this :
string siteUrl = "https://yourtenant.sharepoint.com/sites/yoursite";
string userName = "[email protected]";
string password = &...
2
votes
0
answers
3k
views
External Microsoft users in Azure stuck in login loop when attempting to access SharePoint site
For the past 6 weeks or so we’ve had an issue with External users getting stuck in an MFA loop. At first, it appeared to be users that had a Microsoft account (Outlook.com or Hotmail.com). Then it was ...
0
votes
1
answer
2k
views
"Everyone except external users" - no results found
Until recently, I was able to grant access to all authenticated users in my tenant through the Everyone except external users role. This morning, I get a No results found message.
Anything changed ...
0
votes
1
answer
589
views
Problem with OneNote and SPO sync,
I have a problem with OneNote and sync (and opening unsynced OneNote) with OneNote File stored in SharePoint Online.
I receive this error:
Microsoft OneNote We couldn't open that location.[OneNote ...
1
vote
2
answers
839
views
PNP script to get all subsite in a single site collection, please with MFA for SP online
Found plenty of scripts but they are not with MFA. MFA is a standard now, do not understand why people insist of creating scripts not considering that.
Can someone help?
0
votes
2
answers
919
views
Service account with MFA enabled , how to transfer the membership/ownership to the client after completing the project
I am working on a project for external client >> and I needed to create some SharePoint lists, solutions & Power automate flows.
Now they gave me a service account username/password, and the ...