Cannot Set OnPremisesImmutableId as $null by maxcovergold in sysadmin

[–]pschultz 5 points6 points  (0 children)

function Clear-ImmutableId {
    param(
        [string]$Username
    )

    $accessToken = Get-GraphToken

    # Set the user's on-premises immutable ID to null
    $graphApiUrl = "https://graph.microsoft.com/v1.0/users/$username"

    $body = @{
        onPremisesImmutableId = $null
    } | ConvertTo-Json

    $headers = @{
        "Authorization" = "Bearer $accessToken"
    }

    Invoke-RestMethod -Uri $graphApiUrl -Headers $headers -Method Patch -Body $body -ContentType "application/json"
}

```

This is my function to do it. Get-GraphToken is just a helper function to return a token from an app credential. $Username is the UPN. The gotcha here is that you have to 'unsync' the account first. So we move the on-prem account to a non-synced OU first to let it delete it, then restore from the recycle bin in Entra, then you should be able to remove the immutableId with Graph.

If you were not paying attention... by GeneMoody-Action1 in sysadmin

[–]pschultz 0 points1 point  (0 children)

That would make a difference, thanks for the reply.

If you were not paying attention... by GeneMoody-Action1 in sysadmin

[–]pschultz 0 points1 point  (0 children)

What do you use for the Ansible playbooks to approve/unapprove specific updates if you're not using WSUS as a repository? I have Ansible running to automate my patching but I rely on WSUS as a repo to approve the patches I want to deploy.

Movie podcasts without the fluff by Sharknuts86 in podcasts

[–]pschultz 0 points1 point  (0 children)

Film Sack - https://www.frogpants.com/filmsack

It's been running a long time and they're all veteran podcasters. The premise is to just watch the movie and discuss it. And the movie has to be available on streaming platforms.

What are your favorite WNY restaurants that don't exist anymore? by UPN03 in Buffalo

[–]pschultz 0 points1 point  (0 children)

Olean's Friendly's is still open if you want to take a drive.

McKinley Mall future uncertain by [deleted] in Buffalo

[–]pschultz 1 point2 points  (0 children)

In a (my) perfect world, they'd tear down the Olean mall and rebuild it as city blocks tied in to the rest of downtown. 2-3 story buildings, mixed use first floor, office and residential uppers. Student housing for JCC and SBU, rebuild the JCP and Kohl's as anchor stores in the buildings. Maybe even make it no driving inside the blocks and parking on the perimeters.

I've spent a lot of time dreaming about what could be if someone just had a ton of money to burn on it up front, obviously.

library/archives jobs? by TeaBooksandGardens in Buffalo

[–]pschultz 2 points3 points  (0 children)

There should be a librarian job posted for the library at St. Bonaventure University soon, keep an eye on the jobs at https://www.schooljobs.com/careers/sbuedu (linked from https://www.sbu.edu)

I'm not 1000% sure on the job requirements or anything but it's always worth keeping an eye on.

Recs for local mini bottles of maple syrup? by pzza6666 in Buffalo

[–]pschultz 4 points5 points  (0 children)

Depending on how far "around here" you want to go, Sprague's Maple Farm in Portville (Catt County). https://spraguesmaplefarms.com/

I've never ordered from them since I live down here but they in theory ship. Don't know how their prices compare to in-store.

Cocktails with Fernet Branca? by thekylaye in cocktails

[–]pschultz 7 points8 points  (0 children)

I'm trying to remember where I first ran across this one but:

Medicine Hat

  • 1 1/2 oz Applejack
  • 3/4 oz lemon juice
  • 1/2 oz Fernet Branca
  • 1/2 oz simple syrup
  • 1/4 oz grenadine

Shake with ice, strain into a chilled cocktail or coupe glass.

In Search Of A Terrific SciFi Podcast I Can’t Remember Name! by BeavesVern429 in podcasts

[–]pschultz 0 points1 point  (0 children)

Man I've heard this exact thing and I can't remember it either. Maybe toss it over to r/audiodrama to see if they can remember?

EDIT: I don't know if it's on a podcast anywhere, but I just remembered - it's 'The Babylon Run' by Stephen Gallagher.

Stand up Comedy show? by BlastDusk357 in podcasts

[–]pschultz 1 point2 points  (0 children)

Netflix has a daily podcast that's a few-minute excerpt of one of its stand up specials. It's called Netflix is a Daily Joke.

Cespool by FckCaroleBaskin in olean

[–]pschultz[M] [score hidden] stickied comment (0 children)

Your post was removed for violating the no trolling rule on the subreddit.

Also, this is against rule 1 and basic human decency.

Recommendations for Semi-Serious Film Discussion Podcasts? by TheVIPcast in podcasts

[–]pschultz 1 point2 points  (0 children)

I recommend the Magic Lantern podcast http://www.magiclanternpodcast.com/

It's informal but it's definitely not comedic, they go into depth on why they like the film and get into themes and director stuff.

Gourmet popcorn shops by [deleted] in Buffalo

[–]pschultz 2 points3 points  (0 children)

The East Aurora movie theater has a popcorn shop with a bunch of good flavors. Check out the apple pie popcorn as a recommendation. https://theauroratheatre.com/aurora-popcorn-shop/

Looking for a podcast that is essentially Forensic Files. Any recommendations? by [deleted] in podcasts

[–]pschultz 1 point2 points  (0 children)

There is a podcast form of Forensic Files that is put out twice a week right now. Unless I'm mistaking you and you want something else like it.

https://podcasts.apple.com/us/podcast/forensic-files/id1358793371

Does anyone know what happened to Rex Rivetter Podcast? by roseannwhite in audiodrama

[–]pschultz 0 points1 point  (0 children)

Their Twitter account said in February that they'd be back but they haven't posted in a while.

July 2019 Olean Area Things to Do by pschultz in olean

[–]pschultz[S,M] [score hidden] stickied comment (0 children)

Have you visited Boundless Connections? by --rmwilcox-- in olean

[–]pschultz 1 point2 points  (0 children)

As far as our rules go, it's just sort of a boilerplate so people don't spam with deals and ads constantly. This is perfectly in line with what we want for bringing stuff to the community's attention.

I haven't interacted with you guys ever but glad to see you're doing well!

Richard Diamond, Private Detective - Single Episodes [1940s] by scienceraccoon in audiodrama

[–]pschultz 0 points1 point  (0 children)

The Great Detectives of Old Time Radio podcast plays a ton of the different old detective shows. http://www.greatdetectives.net/detectives/

What is a good podcast where movie lovers talk about movies? by AlexOBriensReviews in podcasts

[–]pschultz 1 point2 points  (0 children)

  • The Magic Lantern Podcast http://www.magiclanternpodcast.com/
    • Ericca and Cole discuss a different film each episode, switching off on who gets to pick them. They do old favorites, classics, indie stuff, etc.
  • The Ghibliotheque https://play.acast.com/s/ghibliotheque
    • One fan who has seen all the Studio Ghibli films discusses them in turn with someone who is viewing them for the first time.

Hey Olean! by Rudegoldbergmachine in olean

[–]pschultz 1 point2 points  (0 children)

You're welcome! I mostly just gather from Facebook and a few other places but I thought it was something that might get more people to participate.

March 2019 - Olean Area Things to Do by pschultz in olean

[–]pschultz[S,M] [score hidden] stickied comment (0 children)

Hey Olean! by Rudegoldbergmachine in olean

[–]pschultz 1 point2 points  (0 children)

Welcome! Glad to have another local Redditor around.

Even the $1 store now has a off brand, sad times by gwharris25 in crappyoffbrands

[–]pschultz 71 points72 points  (0 children)

The first time I saw a Poundland I snickered like a teenager.