rodneyviana / ODSyncService

OneDrive service/DLL for Sync State
MIT License
93 stars 26 forks source link

SharePoint Shared Documents <ERROR>Status not found for type [Shared - Documents] #33

Open MadMeddler opened 3 years ago

MadMeddler commented 3 years ago

Get-ODStatus

LocalPath : C:\Users{user}\OneDrive - {domain} UserSID : {sid} UserName : AzureAD{user} DisplayName : OneDrive - {domain} ServiceType : Business1 StatusString : Up to date

LocalPath : C:\Users{user}{domain}\Shared - Documents UserSID : {sid} UserName : AzureAD{user} DisplayName : Shared - Documents ServiceType : Business1 StatusString : Status not found for type [Shared - Documents]

LocalPath : C:\Users{user}\OneDrive UserSID : {sid} UserName : AzureAD{user} DisplayName : OneDrive - Personal ServiceType : Personal StatusString : Up to date

So the issue appears to be limited to the SharePoint Shared Libraries which are fully synced as per the OneDrive client.

OneDriveLib.dll version: 1.0.7796.25985 OneDrive version: 21.129.0627.0002 (64-bit)

rodneyviana commented 2 years ago

It was never tested with SharePoint Onedrive, but it should work if the status is showing in the taskbar

Lorentz86 commented 2 years ago

It was never tested with SharePoint Onedrive, but it should work if the status is showing in the taskbar

Could you make it work for Sharepoint Onedrive? Cause I really like it and want to use it primaraly for sharepoint.

CubertTheDweller commented 2 years ago

I second this! started using this in a POSH script to notify us when clients have OneDrive issues. Doesn't work with SharePoint Users.. So I have big holes in our notifications for clients of SharePoint.

Otherwise this is an awesome plugin!

I'm going to pull the source and play with it a little myself to see what may need changed or added to acquire this as well.

hts-ekriehn commented 2 years ago

The same issue here with SharePoint libraries.

Status not found for type [Shared - Documents] Would be super useful to have these supported as well.
MartijnAtGithub commented 2 years ago

Has this issue to do with the fact that there is just one status icon in the systray?

Check also my post here: https://github.com/rodneyviana/ODSyncService/issues/35

Every user has probably at least one Business1 synced site: his or her own Business site. If the user also does synchronize Sharepoint or Teams document libraries, an entry is added to OneDrive but it has not its own status icon.

If I use the -path parameter on Team sites that do return an error (Get-ODStatus -ByPath theLocalPath), Get-ODStatus returns "SharedSync". That may indicate this entry shares the sync (status icon) with the default (personal) site?

AutoMationTimeNow commented 1 year ago

Any update on this? Trying to use with SharePoint Sync.

DisplayName : Automation ServiceType : Business1 StatusString : No status text found