Office 365 SharePoint root webs and default library have the same id(guid) issur?

MVP

Hi guys

Here is the situation.

When I create several site collections one by one, the root webs and default libraries in the webs have the save id(guid), I wonder is it normal? I use web id in my program to identify the unique web I am looking for, but this issure makes me fail to do that.

 

Root web ID:
90ac824b-ac63-419e-9231-1050d4062bf1           https://jfoxdave.sharepoint.com/teams/testWebId03
90ac824b-ac63-419e-9231-1050d4062bf1           https://jfoxdave.sharepoint.com/teams/testWebId04
90ac824b-ac63-419e-9231-1050d4062bf1           https://jfoxdave.sharepoint.com/teams/testWebId02
90ac824b-ac63-419e-9231-1050d4062bf1           https://jfoxdave.sharepoint.com/teams/testWebId01

Documents ID:
887bd92c-6e00-4147-9659-c0d0697250fb           https://jfoxdave.sharepoint.com/teams/testWebId01
887bd92c-6e00-4147-9659-c0d0697250fb           https://jfoxdave.sharepoint.com/teams/testWebId02
887bd92c-6e00-4147-9659-c0d0697250fb           https://jfoxdave.sharepoint.com/teams/testWebId03
887bd92c-6e00-4147-9659-c0d0697250fb           https://jfoxdave.sharepoint.com/teams/testWebId04
5 Replies

Hi Justin,

 

What query are you using exactly to retrieve these IDs? Could it be that you are querying the id's for the root site collection? That would explain why you are getting the same ID's everywhere.

 

regards

Mike

Looks like you are querying not the web guids but a different one can you post your code?

Looks like @Waldek Mastykarz found the cause! Didn't know this. Thanks!

Yes.

It is the same issue.

I think Microsoft should solve this.