Azure AD Search and replace attributes

Spangler Alexander 41 Reputation points
2021-02-09T14:24:04.197+00:00

Hi,

I tried to find something similar here in Q&A but it seems like there isnt anything.

I need to search for a certain attribute of Azure AD Users and replace the attribute with a new one.
My database is not small so I cant search for the user every single time. That's why I thought about a Search & Replace Power Shell script.

e. g. Search in all active user for Department -eq "2nd Floor" -and change/replace Department to "5th Floor"

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,857 questions
0 comments No comments
{count} votes

Accepted answer
  1. James Hamil 26,881 Reputation points Microsoft Employee
    2021-02-09T22:27:51.077+00:00

    Hi @Spangler Alexander , I found that we have a Contains() function but don't yet have the ability to replace, but it is being added. This post was updated a year ago, so I'll check and see if anything has been released. I'll get back to you shortly.

    Best,
    James

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.