Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Tenant editor #71

Closed
KelvinTegelaar opened this issue Oct 18, 2021 · 8 comments
Closed

Feature Request: Tenant editor #71

KelvinTegelaar opened this issue Oct 18, 2021 · 8 comments
Assignees
Labels
enhancement New feature or request

Comments

@KelvinTegelaar
Copy link
Owner

KelvinTegelaar commented Oct 18, 2021

Is your feature request related to a problem? Please describe.
When Microsoft imports a new tenant contract it only updates that information a single time; at creation. This means if the tenant had the wrong name, or changed names/domains they will forever be listed like that in your contracts list.

We can use the following to edit tenants:

•    Log into Azure Graph API through the URL https://graphexplorer.azurewebsites.net  using your Global Admin & Admin agent credentials.  
•    Then execute the GET call to get the list of the Partner Contacts using the following REST Call  
o    GET https://graph.windows.net/myorganization/contracts?     [api-version=1.6]
•    From here copy the Object ID of the customer.
•    With the help of following PATCH call, please update the display domain of the Customer: 
o    PATCH https://graph.windows.net/myorganization/contracts/<object-id-of-contract>?    [api-version=1.6] 
{"defaultDomainName":"NEWDEFAULTDOMAINNAME"}

Maybe we can include a edit button on the tenants list, to allow change of the returned properties:

    "contractType": "3",
    "customerContextId": "8dde2954-2562-48c7-a555-cccc",
    "defaultDomainName": "cccc.onmicrosoft.com",
    "displayName": "xxxx BV"

We could also add the delete button, but this is quite destructive and I'm not 100% confident it's needed.

@KelvinTegelaar KelvinTegelaar self-assigned this Oct 18, 2021
@KelvinTegelaar KelvinTegelaar added the enhancement New feature or request label Oct 18, 2021
@KelvinTegelaar
Copy link
Owner Author

cancelling this one. Chances that you actually need to use this are so low it's not a useful use of time right now.

@wilhil
Copy link
Sponsor Contributor

wilhil commented Nov 22, 2021

Well... I just needed it... Thanks so much for the link, I'll try it now...

Can it be reopened just lowest priority as others may need it in the future.

@AdamWillford
Copy link
Contributor

Happy to take this on if you want to assign to me :)

@KelvinTegelaar
Copy link
Owner Author

Reopened, assigned to @AdamWillford

@AdamWillford
Copy link
Contributor

@wilhil This has been merged into dev now, if you want to test and make sure it achieves what you wanted please

@KelvinTegelaar
Copy link
Owner Author

tested and functional.

@wilhil
Copy link
Sponsor Contributor

wilhil commented Nov 25, 2021

Adam or the commit he did?

KelvinTegelaar pushed a commit that referenced this issue Sep 21, 2023
[pull] dev from KelvinTegelaar:dev
@MrNickIE
Copy link
Sponsor

Not functioning, and I would really like this feature back! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants