User Profile
KotiReddy
Brass Contributor
Joined 4 years ago
User Widgets
Recent Discussions
Re: Reporting on how many video files we have in our company's OneDrive accounts and SPO Sites
If you have access to Compliance portal you can run a content search to find out all videos. content search > create a search > use kql query to get file type ( eg: mp4, avi,mpeg) Export the report https://learn.microsoft.com/en-us/purview/ediscovery-content-search347Views0likes1CommentRe: Get site owers
can you share which request you are using. As long as we use any query to pull site owners it gives group name becuase it is connected to group. You must use group member graph API: https://learn.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-1.0&tabs=http Group Id you can get from site properties.339Views0likes0CommentsRe: Get site owers
Hellow, Your screenshot is related to Sharepoint which is connected to groups. Owners > Refers to group owners to get this you can use get-pnpmicrosoft365group : https://pnp.github.io/powershell/cmdlets/Get-PnPMicrosoft365Group.html#example-7 Use example 7 to get required data. Mark this as best response if this helps to get required data.354Views0likes2CommentsRe: The views look different.
Its strange. I try to replicate but itworking as expected. After browser cache clear if still it stuck in same look, try creating new view if it works use new view and delete old view. Regarding powerautomate, some times due to size of moniter and zoom% it will move to right, so click on 3 dots, hope you cna find all options.507Views0likes0CommentsRe: SharePoint Sharing with External
I am not sure how the policy is implemeted in your organiztion tenant. If it is conditional policy then Entra admin can exclude the domain or users in CA policy. If this in in Sharepoint Sharing settings, then on tenant we have to modify this and enable external sharing and limit domain to limited domains. and also in each site we can manage similar settings. Also it good have a different site and configure external sharing only on that site so data on different site will be secured. Also everyone in Tenant can not share to new external users as it is limited to Role "Guest Inviter". User must have above role to share with new guests. But if guests(external users) already in tenant they can share . how to control on tenant : https://learn.microsoft.com/en-us/sharepoint/turn-external-sharing-on-or-off How to control on site : https://learn.microsoft.com/en-us/sharepoint/change-external-sharing-site459Views0likes0CommentsRe: User not found after removing user from SP groups
1. Not sure on this part, I am suspecting user does not have permissions any where eg: indivual permissions any where. If user also removed from individual files where direct permissions assigned then this need to raise with MS. 2. There will be no impact to files which are modified , it is a property get stored in file properties.491Views0likes1CommentRe: Delete Version History
If you have list of files in csv and all from same site , we can use below script to delete versions. # Replace with your own Connect-PnPOnline statement $SiteUrl = "https://contoso.sharepoint.com/sites/site" Connect-PnPOnline -Url $SiteUrl -UseWebLogin # Replace with the path to your own CSV file $FileList = Import-Csv .\VersionDelete.csv # Replace with the number of versions you want to keep $VersionsToKeep = 2 Write-Verbose "Keeping $VersionsToKeep of each file" foreach($File in $FileList) { # Remove site from Filename if it's there $Filename = $File.FileName.Replace($SiteUrl,"") Write-Verbose "Getting version for file $Filename" # Get the versions of each file $FileVersions = Get-PnPFileVersion -Url $Filename Write-Verbose "Found $($FileVersions.Count) versions" if ($FileVersions.Count -gt $VersionsToKeep) { # Pick the ones we want to remove $DeleteVersionList = ($FileVersions[0..$($FileVersions.Count - $VersionsToKeep)]) Write-Verbose "More than $VersionsToKeep versions. Deleting $($DeleteVersionList.count)" foreach($VersionToDelete in $DeleteVersionList) { Write-Verbose "Removing $($VersionToDelete.VersionLabel)" # Remove the versions #Remove-PnPFileVersion -Url $Filename -Identity $VersionToDelete.Id -Force $Output = [PSCustomObject]@{ PSTypeName = 'TKDeletedFileVersion' Filename = $Filename DeletedVersion = $($VersionToDelete.VersionLabel) } # Output the output $Output } } else { Write-Verbose "$Filename only had $($FileVersions.Count). Skipping..." } }1.5KViews0likes0CommentsRe: How to search for documents on subsites from parent site
NikkiSen As far I know if we search in Library/List it will bring only results from that particular library/list and show as "Results from Library/List name". If you go to any site page or Home on top search will search from Site ( this normally includes subsites), If you are not seeing results make sure subsite search is On and library search is on. https://learn.microsoft.com/en-us/sharepoint/make-site-content-searchable#show-content-on-a-site-in-search-results641Views0likes0CommentsRe: Query Regarding Data Labeling in Microsoft Purview
Hello, From my experience, label and Labe policies : Label is used for Data classification,record managmnet and Data lifecycle(retain,destory). Label can travel with file with in M365 estate. Only one label can attach to file at a time. To attach label we need label policies. sensitivity labels and policies : These also can be used to classify data.But these are mostly used to Protect data ( Block access, stop sharing, data loss, encryption, watermarks) . Similar to above label policies here are we can use label policy to publish sensitivity labels.718Views0likes0CommentsRe: How to remove all sites bar and change the domain name in SharePoint modern site
bhavaM I beleive from March 31, 2022 no longer we can hide app bar . You can find more details over here. https://learn.microsoft.com/en-us/viva/connections/sharepoint-app-bar In order to change domain you have to use power shell. Before you change you have to check the domain is aviable or not via admin center or Azure AD portal. If aviable please reserve it and then use powershell to update domain. Add new domain : https://aka.ms/SPORenameAddDomain Update domain in sharepoint: Connect tenant : Connect-SPOService -Url "https://yourtenant-admin.sharepoint.com" Update : Start-SPOTenantRename -DomainName <DomainName> -ScheduledDateTime <YYYY-MM-DDTHH:MM:SS> Article : https://learn.microsoft.com/en-us/sharepoint/change-your-sharepoint-domain-name Regards Koti1.7KViews0likes0CommentsRe: Deleting Items from Preservation hold library
Rebecca1805 Check are there any other policies holding. If you have any Retention Policies – exclue or disable policy If you have eDiscovery cases – Close all eDiscovery cases. If you have Data loss prevention policies – Disable them. if there is no policy holding files should get deleted. Try to see in fiddler or F12 logs what is holding files. In-place policy normally hold files in that location. If this is enabled on site first change the Record Restrictions > No Additional Restrictionsand then disable in-place hold . For this you should be SCA on site.40KViews0likes1CommentRe: SharePoint Online_How to hide view dropdown in command bar in list webpart
MHarper74 Unfortunately you can not hide using OOTB functionality. You have to use SPFX to hide "Switch View Options". Below explained how to do. https://techcommunity.microsoft.com/t5/sharepoint/how-to-hide-switch-view-option-in-sharepoint-online/m-p/36793066.4KViews0likes0Comments
Recent Blog Articles
No content to show