grahamd22 Posted May 24, 2021 Posted May 24, 2021 Hi, We are changing from warwick.surrey.sch.uk to carringtonschool.org with Rm's help (or not). They are asking for the DNS records you would like to associate with domain, where would I find this information as we need this domain verified on 365 to get email created and transfer them over?
mavhc Posted May 24, 2021 Posted May 24, 2021 Who's controlling your dns currently, should be able to get an export of all the info. However for M365: https://admin.microsoft.com/Adminportal/Home#/Domains
Boredguy Posted May 24, 2021 Posted May 24, 2021 According to the whois for your domain, RM are the holders for your .sch.uk. Can't see any DNS records for your new domain, so whoever you wish to get it from will also likely have the option to host your DNS with it
Danp Posted May 24, 2021 Posted May 24, 2021 Get the new domain purchased! Godaddy would be my recommendation.
grahamd22 Posted June 10, 2021 Author Posted June 10, 2021 We are moving to a new school domain from @Warwick.surrey.sch.uk to @carringtonschool.org and require students to login into their new primary email address but not lose any previous email and redirect anyone who uses their previous address, is this possible to do this in bulk? as for staff their address will change to first leter of their first name and full surname @carringtonschool.org. We do AD Sync but have not changed our domain from Warwick to Carrington yet. (RM have now purchased the domain and successfully in 365 now)
mavhc Posted June 10, 2021 Posted June 10, 2021 You can add a second domain to your o365 tenent, and in AD, and then change everyone's username in AD, it's pretty common
Boredguy Posted June 10, 2021 Posted June 10, 2021 You can add a second domain to your o365 tenent, and in AD, and then change everyone's username in AD, it's pretty common However that does mean your tenancy URL remains that of the old name which for some is not an issue, for others it can be. If it's not an issue, just add the new domain, update the upnsuffix for users and you might also then need to update the msoluserprinciplename for existing accounts if it does not pick it up correctly
grahamd22 Posted June 10, 2021 Author Posted June 10, 2021 You can add a second domain to your o365 tenent, and in AD, and then change everyone's username in AD, it's pretty common A second domain exists in o365 but how would I go about adding this to AD? I think the tenacy URL will show the previous address. We will also at some point run Rendom to change domain login from warwick to carrington!
Boredguy Posted June 10, 2021 Posted June 10, 2021 In AD Domains and Trusts, click on the "Active Directory Domains and Trust" node and go to Properties and add a new UPN suffix for your domain Our network domain is currently .internal (legacy of the old RM CC3 days), so we added our .sch.uk domain there For users when we create them, we select the .sch.uk suffix when creating them, and you can easily select a batch of users and update them in bulk via the GUI. It does not affect the workstation logon 1
grahamd22 Posted June 10, 2021 Author Posted June 10, 2021 In AD Domains and Trusts, click on the "Active Directory Domains and Trust" node and go to Properties and add a new UPN suffix for your domain Our network domain is currently .internal (legacy of the old RM CC3 days), so we added our .sch.uk domain there For users when we create them, we select the .sch.uk suffix when creating them, and you can easily select a batch of users and update them in bulk via the GUI. It does not affect the workstation logon what are you referring to exactly when you say easily selecting a batch of users and update them in bulk via the GUI ?
mavhc Posted June 10, 2021 Posted June 10, 2021 Select lots of users, maybe as a search, right click, properties, you can then bulk edit many parts of an account, including upn suffix, which almost no one uses except microsoft azure sync. 1
grahamd22 Posted June 10, 2021 Author Posted June 10, 2021 Is there a quick way to make users have their primary email change to @carringtonschool.org and ADsync it to o365 as they already have an SMTP: address defined?
Boredguy Posted June 10, 2021 Posted June 10, 2021 what are you referring to exactly when you say easily selecting a batch of users and update them in bulk via the GUI ? In AD Users and Computers, if you highlight all the users within the OU and go to properties. Click on the Account tab. Tick the "UPN Suffix" box and select the new suffix you want to use. Click OK New user accounts that you set this to as you create them, will automatically have that e-mail domain if it matches the value in the e-mail field. Likewise if your e-mail address is in the format of Username@domain, you can use the same method to update the e-mail field using the value %username%@domainname You might find that existing accounts might need the following powershell command run to update the login details, so check with a couple of accounts first (certainly I need to do this step when renaming accounts) Set-MsolUserPrincipalName -UserPrincipalName [email protected] -NewUserPrincipalName [email protected] 1
grahamd22 Posted June 16, 2021 Author Posted June 16, 2021 This wouldn't add a default SMTP address for carrington and convert their previous email address as an alias in proxyAddress for on premises?
grahamd22 Posted June 16, 2021 Author Posted June 16, 2021 I tried this in Powershell but it didn't work for Alias but will work for Primary when you change it to SMTP: $DN = "OU=Carrington,OU=Students,DC=domain,DC=local" Get-ADUser -Filter * -SearchBase $Dn | %{Set-ADUser -Identity $_ -Add @{proxyaddresses = ("smtp:"+$_.userprincipalname)}; Write-Host "Alias smtp updated for" $_.name -ForegroundColor Yellow}
grahamd22 Posted June 16, 2021 Author Posted June 16, 2021 rather than -Add -Remove then adding Carrington worked. But now the user has the correct SMTP carrington and smtp warwick why is it that the properties of the student shows SMTP warwick ? Set-MsolUserPrincipalName -UserPrincipalName [email protected] -NewUserPrincipalName [email protected] was required to show the new login settings. Need to figure out a quick way of using this in bulk to do the rest of the users in school.
DaveTheTech Posted June 16, 2021 Posted June 16, 2021 If the two needed fields are listed in get-msoluser, then it should be very straight forward.
Warwick_Tech Posted June 16, 2021 Posted June 16, 2021 I tried this in Powershell but it didn't work for Alias but will work for Primary when you change it to SMTP: $DN = "OU=Carrington,OU=Students,DC=domain,DC=local" Get-ADUser -Filter * -SearchBase $Dn | %{Set-ADUser -Identity $_ -Add @{proxyaddresses = ("smtp:"+$_.userprincipalname)}; Write-Host "Alias smtp updated for" $_.name -ForegroundColor Yellow} Remember in Attribute Editor (ProxyAddresses) it takes any in caps SMTP as primary and lowercase smtp as secondary https://techcommunity.microsoft.com/t5/exchange-team-blog/admodify-net-is-here/ba-p/610119 ADModify should allow you to change on-premises then sync using AAD - Use the wildcard %username%@
grahamd22 Posted June 16, 2021 Author Posted June 16, 2021 The powershell works if you remove the original smtp and then re-add it back in with lowercase smtp and uppercase for carrington then run Set-MsolUserPrincipalName but if you look at the users credentials in Outlook it only shows uppercase SMTP @Warwick and lowercase smtp onmicrosoft, yet Get-Msoluser, AD, Outlook online and 365 admin show SMTP @carrington and smtp @Warwick and the user shows in the new domain carrington, is this because carrington isn't set as the default domain yet?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now