Forum Discussion
Thomsch
Mar 29, 2021Iron Contributor
Get a list of "Other organizations you belong to" from all users
Is it possible to get a list of all organizations where users of the own tenant are invited as guests? It's pretty easy and straight forward to get a list for my own organizations (https://myacc...
Manlyboots907
Jul 18, 2024Copper Contributor
Couple of keys here.
1-if you can get it for your self (a global admin) then you can get it for everyone, so it must be possible
2 - i matters were the attribute is stored. One of the things i have learned is that AZURE has several DB's of info not a single one like on prem. So connect-azuread is not the same as MS graph or others.
3 - as i understand it, MS Graph is the new hotness, and I would bet that if you explore connecting to your tenent under this method (GUI, powershell, html) you will find the property you want. after you have the place, and attribute, it is a simple matter of looping it to get them for all.
I know this s not a direct answer, but i pray it gives you some hope of a direction.
1-if you can get it for your self (a global admin) then you can get it for everyone, so it must be possible
2 - i matters were the attribute is stored. One of the things i have learned is that AZURE has several DB's of info not a single one like on prem. So connect-azuread is not the same as MS graph or others.
3 - as i understand it, MS Graph is the new hotness, and I would bet that if you explore connecting to your tenent under this method (GUI, powershell, html) you will find the property you want. after you have the place, and attribute, it is a simple matter of looping it to get them for all.
I know this s not a direct answer, but i pray it gives you some hope of a direction.