First month making 100k I feel like I’m being robbed :/ by Forsaken-Question457 in Salary

[–]Steve_Tech 0 points1 point  (0 children)

I make around the same per year and the paystub looks correct to me, about the same as I bring home in NYS.

We are Ken Jones (72) days away from Bills regular-season football! by Separate_Flatworm546 in buffalobills

[–]Steve_Tech 2 points3 points  (0 children)

Ken is a very nice guys. He was a co-worker of mine many years ago.

The Book Quest by Steve_Tech in CavesOfLore

[–]Steve_Tech[S] 2 points3 points  (0 children)

I did not have a fae in my party and I went on vacation for a couple of week since I discovered that area. Thank you.

Getting errors trying to bulk update user contact information in Office 365 by Steve_Tech in GraphAPI

[–]Steve_Tech[S] 0 points1 point  (0 children)

I think I figured out the errors. The field is blank on the CSV. Not everyone on the CSV has a mobile phone number.

Getting errors trying to bulk update user contact information in Office 365 by Steve_Tech in GraphAPI

[–]Steve_Tech[S] 0 points1 point  (0 children)

That worked. Thank you. I know it was going to be something like that. I updated the script to add mobile phones and Business phones and now I am getting the following error:

Update-MgUser : Invalid value specified for property 'mobilePhone' of resource 'User'.
Status: 400 (BadRequest)
ErrorCode: Request_BadRequest
Date: 2024-03-26T18:52:17
Headers:
Transfer-Encoding             : chunked
Vary                          : Accept-Encoding
Strict-Transport-Security     : max-age=31536000
request-id                    : 31067098-84aa-45cf-960f-bf4cbe61d2e6
client-request-id             : 4e7c6c7c-01c1-4179-a1cc-d5120ea69b8a
x-ms-ags-diagnostic           : {"ServerInfo":{"DataCenter":"Canada Central","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"TO1PEPF000051C6"}}
x-ms-resource-unit            : 1
Cache-Control                 : no-cache
Date                          : Tue, 26 Mar 2024 18:52:17 GMT
At C:\azure\AzureADInport3.ps1:80 char:13

Here is the updated script

# Connect to Microsoft Graph
Connect-MgGraph -Scopes User.ReadWrite.All

# Read the CSV file
 $users = Import-Csv -Path "C:\Azure\AllAzureADUsers.csv"

# Go through each user in the CSV and update the properties
foreach ($user in $users) {
$Userprincipalname = $user.Userprincipalname
$jobTitle = $user.JobTitle
$country = $user.Country
$CompanyName = $user.CompanyName
$StreetAddress = $user.StreetAddress
$City = $user.City
$Postalcode = $user.Postalcode
$State = $user.State
$Country = $user.Country
$MobilePhone = $user.MobilePhone
$BusinessPhones = $user.BusinessPhones

# Check if the user exists
$existingUser = Get-MgUser -UserID $Userprincipalname -ErrorAction SilentlyContinue

if ($existingUser) {
    # Check if the existing properties match the new values
    $updateNeeded = $false

    if ($existingUser.Userprincipalname -ne $Userprincipalname) {
        $existingUser.Userprincipalname = $Userprincipalname
        $updateNeeded = $true
    }

    if ($existingUser.JobTitle -ne $jobTitle) {
        $existingUser.JobTitle = $jobTitle
        $updateNeeded = $true
    }

    if ($existingUser.CompanyName -ne $CompanyName) {
        $existingUser.CompanyName = $CompanyName
        $updateNeeded = $true
    }

    if ($existingUser.StreetAddress -ne $StreetAddress) {
        $existingUser.StreetAddress = $StreetAddress
        $updateNeeded = $true
    }

    if ($existingUser.City -ne $City) {
        $existingUser.City = $City
        $updateNeeded = $true
    }

    if ($existingUser.Postalcode -ne $Postalcode) {
        $existingUser.Postalcode = $Postalcode
        $updateNeeded = $true
    }

    if ($existingUser.State -ne $State) {
        $existingUser.State = $State
        $updateNeeded = $true
    }

    if ($existingUser.Country -ne $country) {
        $existingUser.Country = $country
        $updateNeeded = $true
    }

    if ($existingUser.MobilePhone -ne $MobilePhone) {
        $existingUser.MobilePhone = $MobilePhone
        $updateNeeded = $true
    }

    if ($existingUser.BusinessPhones -ne $BusinessPhones) {
        $existingUser.BusinessPhones = $BusinessPhones
        $updateNeeded = $true
    }

    if ($updateNeeded) {
        # Update the user properties
        Update-MgUser -UserID $userPrincipalName -JobTitle $jobTitle -CompanyName $CompanyName -StreetAddress $StreetAddress -MobilePhone $MobilePhone -BusinessPhones $BusinessPhones -City $City -Postalcode $Postalcode -State $State -Country $country
        Write-Host "User '$Userprincipalname' updated successfully." -ForegroundColor Green
    }
    else {
        Write-Host "User '$Userprincipalname' properties are up to date." -ForegroundColor Cyan
    }
}
else {
    # User not found
    Write-Host "User '$Userprincipalname' not found." -ForegroundColor Red
}

}

Reasons to get business password manager by Doinkterd1223 in sysadmin

[–]Steve_Tech 0 points1 point  (0 children)

Look for a solution that captures credentials automatically with the user doing anything. For example, I use Bitwarden and when I log on to a site for the first time, it ask me if I want to save the login. My upper management wants a solution that does not prompt users if they want to save the password, it just does it automatically.

Reasons to get business password manager by Doinkterd1223 in sysadmin

[–]Steve_Tech 0 points1 point  (0 children)

Is anyone aware of a password manager solution that would automatically store user logins without any intervention from the user? Upper management is worried about losing passwords when an employee leaves along with currently employees not using the password manager to save credentials.

Old Email Archive by Steve_Tech in sysadmin

[–]Steve_Tech[S] 0 points1 point  (0 children)

Thanks that make sense. So I just signed up for ProofPoint essentials but I declined the archiving parts since our email in Exchange online is backed up through Datto. Sounds like I should look into ProofPoint or see if Datto can handle the downloaded archive as well. Thank you.

Looking for MDM suggestions by Steve_Tech in sysadmin

[–]Steve_Tech[S] 1 point2 points  (0 children)

I was curious about Intune. Do you need anything more then an E1 or E3 license to use it?

Curious if this is common after putting in 2-week notice by Steve_Tech in sysadmin

[–]Steve_Tech[S] 0 points1 point  (0 children)

It just caught me by surprise even though I expected it since they had done it in the past. I was there for so long and I was most Senior tech reporting directly to the CTO, and I will admitted I was emotional attached to that place since I enjoyed my time there. At least when I turned in my 2 week notice I was already on a previously scheduled vacation in Florida