New answers tagged

0

I used the above code and i got the values from given GUID's termset. But i need to get all termsets with their respective terms from a group. How do we get all termsets along with all the terms from a group. Thanks in advance!


0

You could use audit log to get all shared files and folders. Go to Microsoft 365 admin center -> Security -> Search -> Audit log search -> Shared file, folder, or site -> Add site address in the "File, folder, or site" section.


0

Please see below references for 500 search result limits. For on-premise, there is a workaround to fix it. SharePoint Online MS Article Search Result Limit Number of rows in a result set:500 Boundary To display the entire result set, issue more paging queries. For Discovery queries the maximum number of rows in a result set is 10,000 SharePoint 2013-2019 ...


0

I had the same issue and I found a solution via the build in helper UTCToLocalTime. I wrote a helper method for that. public async Task<DateTime> ConvertToSharePointTimeAsync(ClientContext clientContext, DateTime utcTime) { Microsoft.SharePoint.Client.TimeZone sharePointTimeZone = clientContext.Web.RegionalSettings.TimeZone; var ...


0

You can check the value of beforeProperties and afterProperties of what you wanted to update, and if there was no difference, then you can break out of the method. private static bool ShouldSecretBeUpdated( IReadOnlyDictionary<string, object> beforeProperties, IReadOnlyDictionary<string, object> afterProperties) { ...


0

You don't have to use tenant-id for the loginName, just use tenant will be work. "c:0t.c|tenant|<group-id>" You could try this: loginName = "c:0t.c|tenant|asd-123-asd-123-asd";


Top 50 recent answers are included