Azure MSDN Subscription: change the url of the default AD - powershell

By default, you get an AD which is associated with your azure subscription which is identified by name on the form XXX.onmicrosoft.com. Does anyone know if it's possible to change the XXX to something else?
Thanks.
Luis

No, it is not possible.
You could create a new AD account or add or custom domain to Azure AD, please check my answer about this.

Related

How can I remove a user from an Organization?

I am able to add users (emails) to a given organization. However, I don't seem to find a way to remove a user from an organization.
Am I missing something?
Thanks in advance
It's not a feature that is public available atm. But something we are working on.
If you have a user you want to have removed from your org, write to us at support#toit.io or via the chat on our webpage.
Sorry for the inconveniences.

Obtain User Access Metrics in Azure DevOps

Good morning;
I'd like to know if it's possible to make a query in Azure DevOps for obtaining the team's users accesses stats.
I can obtain the cards modified by the users, but i want to know if there's a way to know if the users are accessing to the boards (using Azure devops queries).
Thanks!!
Do you mean to get users list who are accessing boards?
If so, I am afraid that there is no way to get this information right now.
This feature is not supported by azure devops for the time being.
You could add your request for this feature on our UserVoice site , which is our main forum for product suggestions. After suggest raised, you can vote and add your comments for this feedback. The product team would provide the updates if they view it.
Thank you for your response.
As you said, I need the list of the users who are accessing boards.
By the moment, I'll obtain the number of cards modified by each user, and this could give me an idea about the users activity.

How to change entire Group Email Address if Domain is Changed in Azure Devops

We have a Azure DevOps Organization ( couple of projects within the org), all the users in that organisation has been added with email address like #xyz.com and due to the organisation Change the Client has changed their domain from xyz to abc and right now all our email address changed to #abc.com instead #xyz.com but still would like to use same azure devops account. Is there a chance how to achieve this? ( I already went through and looks like , we can remove the user #xyz.com and add new email address with #abc.com ) but, looking for best way to do so.
Your help is highly appreciated.
Thanks in Advance.

Add users groups in Azure subscription using portal

I was trying to follow this tutorial here from official Microsoft Docs in order to give in a specific user group a role.
https://learn.microsoft.com/en-us/azure/active-directory/role-based-access-control-configure
I want that role to be applied on subscription level. First, the screenshots are outdated and they are not represent the current portal. Second, the current portal seems to be unable to find the user groups through the search.
After searching and changing a lot of things I had realized that the issue wasn't on my action but on Azure portal. I gave up the portal and I started trying PowerShell and it works as it is expected to work.
https://learn.microsoft.com/en-us/azure/active-directory/role-based-access-control-manage-access-powershell
Therefore, save your time and use PowerShell instead of portal in case that you want to set a role in a user group. Again, there is no specific command as far as it concerns subscription level access. You need to modify a bit the one for Resource Groups and add -Scope. Your final command should be this:
New-AzureRmRoleAssignment -ObjectId $userGroupId -RoleDefinitionName 'Reader' -scope '/subscriptions/{Change_To_Subscription_ID}'

Create client under CSP using powershell

We are switching from reseller/advisor accounts to CSP.
We can manually create Customers under PartnerCenter which creates the relationship as Cloud Reseller as opposed to Advisor as before.
We can create the company name fine and add License based subscriptions however when we add Usage Based Subscription it lists the subscription name as Microsoft Azure instead of our Company Name. Also we have to go into this subscription and manually create AzureReader and AzureAdmin users under the ARM Portal.
I am looking for powershell options to automate this process:
Create a new client under CSP using powershell.
Create a usage based subscription with our Company Name instead of Subscription name of Microsoft Azure under this new client.
Add the AzureReader and AzureAdmin users to the Subscription.
Any assistance is appreciated.
I looked through several forums as well as scripts on Github but have not found anything and unfortunately I am not a coder or powershell guru.
Updating my answer -
Powershell preview is out now here
i am afraid there are no power-shell to accomplish this but instead there is a .net sdk or a REST API that can help to accomplish this.
Read more here