Pokazywanie postów oznaczonych etykietą claim. Pokaż wszystkie posty
Pokazywanie postów oznaczonych etykietą claim. Pokaż wszystkie posty

2025-04-22

ADFS how to remove claim from output?

Should I focus on the question "how to remove claim"? But this is false question - I'm the administrator so it strictly depends on me what will be issued... So why I want to remove claim if I can just not issue this claim? Sorry, stupid question... But why I'm just looking for this statement/command with adfs? I'm trying to log adfs activity and I have an idea to store some activity data in sql database - querying for some claim, but this claim can be just included in input stream without issueing it.

Can it be a bottleneck? yes, of course, but I'm looking for how to better monitor activity on many apps - we have above 200 (two hundred) apps - some of them are in dev or test flavor so they are not heavily used, for production apps workload is huge. So this is only thinking.

2021-04-01

How to copy transfrom rules, issuance rules between Application Groups, party trusts - ADFS

How to copy rules between relying party trusts
$rules = (Get-ADFSRelayingPartyTrust "Src Party Trust").IssuanceTransformRules
Set-ADFSRelyingPartyTrust "Dst Party Trust" -IssuanceTransformRules $rules


How to copy between application grups
$rules = (Get-ADFSApplicationGroup "src group").Applications[1].IssuanceTransformRules
Set-AdfsWebApiApplication "https://some-uri-for-dest-app" -IssuanceTransformRule $rules

But - is there any powershell cmdlet for Web Application?

2018-12-21

ADFS - how to translate single value claim to multivalue (array)

If You have single value claim just add another claim of this type - it will be added as second claim with this value so it will be an array.