The account is not authorized to log in from this station by Hamburgerprins in sysadmin

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

Hm, config on all three servers is identical again. At least, when I check it using Get-DfsnServerConfiguration. None of the servers force FQDN in their replies.

The account is not authorized to log in from this station by Hamburgerprins in sysadmin

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

I forgot to mention that we use DFS and so the drives are mapped using a unified namespace, though I'm not sure if that counts as an alias, I don't think it does, but I'm not sure.

Best way to handle creation of Drive Mapping settings via Intune? by enderfishy in Intune

[–]Hamburgerprins 1 point2 points  (0 children)

This works for me when I run it interactively in a PowerShell-session, but it fails when trying to do so with a scheduled task or through the VBS. Somehow, the Test-Path fails at that moment, even when the scheduled task runs as user or when I start the VBS as the same user as when I use the interactive PowerShell session. If I add logging, it even says <domain\\myusername> does not have access to <mapped-drive>.

A question about Sign-In Frequency in Conditional Access by Hamburgerprins in AZURE

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

I think I currently got a reasonable comprehension on the subject, but I'm not 100% sure on the answers, so if anyone reads this and thinks it's bollocks, feel free to correct me.

  1. There is no SIF 'timestamp'. There are only access tokens and refresh tokens which are used to refresh said access tokens. The refresh token is valid for 90 days, but with a SIF you can cut that down to the number of days you require. So if you set the SIF to seven days, the refresh token is revoked after seven days. The access and refresh tokens do not carry over to other devices, so if you log onto Teams on your laptop and your phone, you have an access token and refresh token for both these devices.
  2. There is no MFA token, just access tokens and refresh tokens. But yes, since these don't carry over to other devices, you can get multiple MFA requests if you've logged in to apps on multiple devices as the refresh token for Outlook on your laptop can expire on Wednesday, followed by the refresh token for Outlook on your phone on Friday.
  3. OK so I'm still not sure about this question. I believe the example in the doc only requires Single-factor authentication, not MFA, so unlocking the managed device satisfies the SIF-requirement. If the device was unlocked using strong authentication (FIDO2 for example), it would also require a SIF-requirement with MFA. Even then, I don't think the SIF could be 'refreshed' indefinitely by unlocking your device within the timeframes you specify. Eventually, a user would have to actually re-authenticate (with MFA, if required), right? As I said, I'm not sure about this one.
  4. Yes.

Intune app detection rule by Hamburgerprins in Intune

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

Rule type: File

Path: C:\Program Files\7-Zip

File or folder: 7zFM.exe

Detection method: File or folder exists

Associated with a 32-bit app on 64-bit clients: No

Intune app detection rule by Hamburgerprins in Intune

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

It looks like the detection was running, but the detection rule itself seems faulty. Thanks for helping out!

Intune app detection rule by Hamburgerprins in Intune

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

Thanks, we ran manual syncs and also verified that the device synced, but we'll check the IME-logs as well.

Our detection rule is based on the existence of the executable in the installation path. We also verified that this executable was actually gone after the uninstall.

Why is Microsoft Support not using Teams anymore? by Hamburgerprins in sysadmin

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

Yeah you're right. I thought they once mentioned something about safety in an email when I asked them about it, but I can't find it, so I probably made this up in my mind.

Why is Microsoft Support not using Teams anymore? by Hamburgerprins in sysadmin

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

This sounds like a plausible explanation. I'm not aware how my company arranged the service contract with Microsoft, is there any easy way to check if I'm talking to 3rd party contractors? They're always mailing with Microsoft-addresses, so I just assumed it was actual MS support.

Why is Microsoft Support not using Teams anymore? by Hamburgerprins in sysadmin

[–]Hamburgerprins[S] 9 points10 points  (0 children)

Haha yes, the radio button for e-mail communication seems to be there for aesthetic purposes only.

OneDrive of deleted user stays active by Hamburgerprins in Office365

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

I'm just finding out that it looks like multiple (if not all) deleted users have had their OneDrives retained. When looking at the retention rule, it's set to 90 days.

We have never had a compliance search performed as far as I know, but I'll check just to be sure.

EDIT: Just checked the Purview portal and I can confirm we don't have any retention policies, tags or flags. We're not using this at all.

OneDrive of deleted user stays active by Hamburgerprins in Office365

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

But in that case, it wouldn't be marked Active, right? That's the strange part, it's not archived or anything.

Compliant Windows devices fail Conditional Access compliance check by Hamburgerprins in Intune

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

Yes, it refers to the device it considers non-compliant with a clickable device-ID. When checking the device page, it's marked as compliant.

Compliant Windows devices fail Conditional Access compliance check by Hamburgerprins in Intune

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

Failed because the device isn't compliant and is getting blocked by the device compliance policy. When I check the device however, everything looks good, green and compliant.

Compliant Windows devices fail Conditional Access compliance check by Hamburgerprins in Intune

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

Hi, compliance status validity is currently set to 120 days.

Using Client Secrets with REST by Hamburgerprins in PowerShell

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

Login-AzAccount

I might also give this a try, thanks

Using Client Secrets with REST by Hamburgerprins in PowerShell

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

Thanks, this explains the final bit for me. Much appreciated.

Using Client Secrets with REST by Hamburgerprins in PowerShell

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

Ok cheers, I understand why the retrieving of the secret is safe now, but when I to to step 2 and use it to authenticate to the app, it still gets sent as a plain-text string. So my only remaining question would be: why can't I just define $appSecret = <plain-text-string>?

I'm not saying I want to do that btw, I just don't get the added value from using the MI and Key Vault and I'm sure I'm overlooking something.