New answers tagged bcs
As an alternative to your solution based on running the program under admin account, you can give a try to using impersonation in SP code. Hope these links would be useful for you: https://msdn.microsoft.com/EN-US/library/microsoft.sharepoint.spsecurity.runwithelevatedprivileges.aspx ...
I solved running the console application with Administrator privileges.
The simple answer would be you can't on your own for anyother error apart from BCS. Get-SPOTenantLogEntry would return zero results when there are no logs present, though it can be a hit or miss sometimes. Go for a safer approach, recreate the error, wait for few moments and execute below command: $endTimeinUTC = Get-SPOTenantLogLastAvailableTimeInUtc ...
Top 50 recent answers are included