Office 365 PowerShell question



  • While in an Office 365 PowerShell session, anyone know what the 'name' value refers to? I think what a client did was simply rename an account when someone quit, and here is the result.

    Amanda quits, backfilled by Jane. Display name, UPN, SAM, alias, everything shows as Jane, except 'name'. Going through Exchange mailbox and MSO user properties via the GUI, no trace of the word 'Amanda' anywhere.

    Anyone know what that value actually refers to? Before today I thought it was probably UPN, until today I saw there is a separate value for UPN.



  • Display Name? Don't know for sure without checking.



  • @bbigford said in Office 365 PowerShell question:

    While in an Office 365 PowerShell session, anyone know what the 'name' value refers to? I think what a client did was simply rename an account when someone quit, and here is the result.

    Amanda quits, backfilled by Jane. Display name, UPN, SAM, alias, everything shows as Jane, except 'name'. Going through Exchange mailbox and MSO user properties via the GUI, no trace of the word 'Amanda' anywhere.

    Anyone know what that value actually refers to? Before today I thought it was probably UPN, until today I saw there is a separate value for UPN.

    Can you show an example?



  • @dbeato said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    While in an Office 365 PowerShell session, anyone know what the 'name' value refers to? I think what a client did was simply rename an account when someone quit, and here is the result.

    Amanda quits, backfilled by Jane. Display name, UPN, SAM, alias, everything shows as Jane, except 'name'. Going through Exchange mailbox and MSO user properties via the GUI, no trace of the word 'Amanda' anywhere.

    Anyone know what that value actually refers to? Before today I thought it was probably UPN, until today I saw there is a separate value for UPN.

    Can you show an example?

    0_1525112201908_2018_04_30_12_13_26_Administrator_Windows_PowerShell_ISE.png

    0_1525112210220_2018_04_30_12_15_24_Office_Admin_center_Home.png



  • @bbigford said in Office 365 PowerShell question:

    @dbeato said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    While in an Office 365 PowerShell session, anyone know what the 'name' value refers to? I think what a client did was simply rename an account when someone quit, and here is the result.

    Amanda quits, backfilled by Jane. Display name, UPN, SAM, alias, everything shows as Jane, except 'name'. Going through Exchange mailbox and MSO user properties via the GUI, no trace of the word 'Amanda' anywhere.

    Anyone know what that value actually refers to? Before today I thought it was probably UPN, until today I saw there is a separate value for UPN.

    Can you show an example?

    0_1525112201908_2018_04_30_12_13_26_Administrator_Windows_PowerShell_ISE.png

    0_1525112210220_2018_04_30_12_15_24_Office_Admin_center_Home.png

    That's the SamAccountName attribute that cannot be changed.



  • @bbigford said in Office 365 PowerShell question:

    @dbeato said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    While in an Office 365 PowerShell session, anyone know what the 'name' value refers to? I think what a client did was simply rename an account when someone quit, and here is the result.

    Amanda quits, backfilled by Jane. Display name, UPN, SAM, alias, everything shows as Jane, except 'name'. Going through Exchange mailbox and MSO user properties via the GUI, no trace of the word 'Amanda' anywhere.

    Anyone know what that value actually refers to? Before today I thought it was probably UPN, until today I saw there is a separate value for UPN.

    Can you show an example?

    0_1525112201908_2018_04_30_12_13_26_Administrator_Windows_PowerShell_ISE.png

    0_1525112210220_2018_04_30_12_15_24_Office_Admin_center_Home.png

    That is the original user that occupied that account. Unfortunately, when DisplayNames are created, they cannot be altered. Of course, this company is doing it wrong anyways because the old user's account should be disabled and deleted after a while. New employees should be created new AD accounts. If the new employee needs something from the old employees account then the new employee should be granted access to the old employees mailbox.



  • @nerdydad said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    @dbeato said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    While in an Office 365 PowerShell session, anyone know what the 'name' value refers to? I think what a client did was simply rename an account when someone quit, and here is the result.

    Amanda quits, backfilled by Jane. Display name, UPN, SAM, alias, everything shows as Jane, except 'name'. Going through Exchange mailbox and MSO user properties via the GUI, no trace of the word 'Amanda' anywhere.

    Anyone know what that value actually refers to? Before today I thought it was probably UPN, until today I saw there is a separate value for UPN.

    Can you show an example?

    0_1525112201908_2018_04_30_12_13_26_Administrator_Windows_PowerShell_ISE.png

    0_1525112210220_2018_04_30_12_15_24_Office_Admin_center_Home.png

    That is the original user that occupied that account. Unfortunately, when DisplayNames are created, they cannot be altered. Of course, this company is doing it wrong anyways because the old user's account should be disabled and deleted after a while. New employees should be created new AD accounts. If the new employee needs something from the old employees account then the new employee should be granted access to the old employees mailbox.

    The Display Name in this case would be Catalina M, it's showing correctly in the second picture...



  • This post is deleted!


  • @dbeato said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    @dbeato said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    While in an Office 365 PowerShell session, anyone know what the 'name' value refers to? I think what a client did was simply rename an account when someone quit, and here is the result.

    Amanda quits, backfilled by Jane. Display name, UPN, SAM, alias, everything shows as Jane, except 'name'. Going through Exchange mailbox and MSO user properties via the GUI, no trace of the word 'Amanda' anywhere.

    Anyone know what that value actually refers to? Before today I thought it was probably UPN, until today I saw there is a separate value for UPN.

    Can you show an example?

    0_1525112201908_2018_04_30_12_13_26_Administrator_Windows_PowerShell_ISE.png

    0_1525112210220_2018_04_30_12_15_24_Office_Admin_center_Home.png

    That's the SamAccountName attribute that cannot be changed.

    You were correct after I double-checked. What I find odd though, is the samAccountName doesn't show as emilyr, it shows as emily59172-558041006 ... where does it even pull emilyr from do you think?

    0_1525363051932_c0112f04-4f56-445f-9a35-78a571753053-image.png

    Edit: I've tried marking this as solved, but can't find an option for that.



  • @bbigford said in Office 365 PowerShell question:

    @dbeato said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    @dbeato said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    While in an Office 365 PowerShell session, anyone know what the 'name' value refers to? I think what a client did was simply rename an account when someone quit, and here is the result.

    Amanda quits, backfilled by Jane. Display name, UPN, SAM, alias, everything shows as Jane, except 'name'. Going through Exchange mailbox and MSO user properties via the GUI, no trace of the word 'Amanda' anywhere.

    Anyone know what that value actually refers to? Before today I thought it was probably UPN, until today I saw there is a separate value for UPN.

    Can you show an example?

    0_1525112201908_2018_04_30_12_13_26_Administrator_Windows_PowerShell_ISE.png

    0_1525112210220_2018_04_30_12_15_24_Office_Admin_center_Home.png

    That's the SamAccountName attribute that cannot be changed.

    You were correct after I double-checked. What I find odd though, is the samAccountName doesn't show as emilyr, it shows as emily59172-558041006 ... where does it even pull emilyr from do you think?

    0_1525363051932_c0112f04-4f56-445f-9a35-78a571753053-image.png

    Edit: I've tried marking this as solved, but can't find an option for that.

    Have @scottalanmiller do it.



  • @dbeato said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    @dbeato said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    @dbeato said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    While in an Office 365 PowerShell session, anyone know what the 'name' value refers to? I think what a client did was simply rename an account when someone quit, and here is the result.

    Amanda quits, backfilled by Jane. Display name, UPN, SAM, alias, everything shows as Jane, except 'name'. Going through Exchange mailbox and MSO user properties via the GUI, no trace of the word 'Amanda' anywhere.

    Anyone know what that value actually refers to? Before today I thought it was probably UPN, until today I saw there is a separate value for UPN.

    Can you show an example?

    0_1525112201908_2018_04_30_12_13_26_Administrator_Windows_PowerShell_ISE.png

    0_1525112210220_2018_04_30_12_15_24_Office_Admin_center_Home.png

    That's the SamAccountName attribute that cannot be changed.

    You were correct after I double-checked. What I find odd though, is the samAccountName doesn't show as emilyr, it shows as emily59172-558041006 ... where does it even pull emilyr from do you think?

    0_1525363051932_c0112f04-4f56-445f-9a35-78a571753053-image.png

    Edit: I've tried marking this as solved, but can't find an option for that.

    Have @scottalanmiller do it.

    Ah, I'm guessing that is not a function everyone has the ability to use I'm guessing.



  • @bbigford said in Office 365 PowerShell question:

    @dbeato said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    @dbeato said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    @dbeato said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    While in an Office 365 PowerShell session, anyone know what the 'name' value refers to? I think what a client did was simply rename an account when someone quit, and here is the result.

    Amanda quits, backfilled by Jane. Display name, UPN, SAM, alias, everything shows as Jane, except 'name'. Going through Exchange mailbox and MSO user properties via the GUI, no trace of the word 'Amanda' anywhere.

    Anyone know what that value actually refers to? Before today I thought it was probably UPN, until today I saw there is a separate value for UPN.

    Can you show an example?

    0_1525112201908_2018_04_30_12_13_26_Administrator_Windows_PowerShell_ISE.png

    0_1525112210220_2018_04_30_12_15_24_Office_Admin_center_Home.png

    That's the SamAccountName attribute that cannot be changed.

    You were correct after I double-checked. What I find odd though, is the samAccountName doesn't show as emilyr, it shows as emily59172-558041006 ... where does it even pull emilyr from do you think?

    0_1525363051932_c0112f04-4f56-445f-9a35-78a571753053-image.png

    Edit: I've tried marking this as solved, but can't find an option for that.

    Have @scottalanmiller do it.

    Ah, I'm guessing that is not a function everyone has the ability to use I'm guessing.

    It is an issue in NodeBB here that we cannot mark other answers ans the resolution of the issue.



  • @dbeato said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    @dbeato said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    @dbeato said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    @dbeato said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    While in an Office 365 PowerShell session, anyone know what the 'name' value refers to? I think what a client did was simply rename an account when someone quit, and here is the result.

    Amanda quits, backfilled by Jane. Display name, UPN, SAM, alias, everything shows as Jane, except 'name'. Going through Exchange mailbox and MSO user properties via the GUI, no trace of the word 'Amanda' anywhere.

    Anyone know what that value actually refers to? Before today I thought it was probably UPN, until today I saw there is a separate value for UPN.

    Can you show an example?

    0_1525112201908_2018_04_30_12_13_26_Administrator_Windows_PowerShell_ISE.png

    0_1525112210220_2018_04_30_12_15_24_Office_Admin_center_Home.png

    That's the SamAccountName attribute that cannot be changed.

    You were correct after I double-checked. What I find odd though, is the samAccountName doesn't show as emilyr, it shows as emily59172-558041006 ... where does it even pull emilyr from do you think?

    0_1525363051932_c0112f04-4f56-445f-9a35-78a571753053-image.png

    Edit: I've tried marking this as solved, but can't find an option for that.

    Have @scottalanmiller do it.

    Ah, I'm guessing that is not a function everyone has the ability to use I'm guessing.

    It is an issue in NodeBB here that we cannot mark other answers ans the resolution of the issue.

    You can quote the post that is the answer, and mark your quoted post as the answer.

    That's what we've been doing.


Log in to reply