Open Tanddant opened 5 days ago
Thanks for this suggestion, @Tanddant. You're right, but when we talk about the tenant's name, we refer to the <tenantname>
before the .onmicrosoft.com
or .sharepoint.com
.
To make it clear and to avoid common misunderstandings, we could do these things:
Anyone interested in doing this?
I found out ... this might also just be a case of me being hungover from a wine tasting 😅
I'm happy to just extend the documentation, I have a feeling we wouldn't be able to make a bulletproof validation anyway, dumb dumbs like myself will always find a way to break it, feel free to assign me this issue 👍
@Tanddant All yours!
I've done a basic attempt over here, do you mind taking a look at if it makes more sense before I open a PR?
https://github.com/Tanddant/easyGovernance/commit/92e80a38e8dc607e8d8a871c94ffb48d7d16bba8
From the readme:
I initially went with "Tenant.onmicrosoft.com" - which caused an attempted connection to "Tenant.onmicrosoft.com.onmicrosoft.com" - perhaps we should just validate if the tenant name contains a . and if it does, just trust that it's a valid tenant URI