ID1032: At least one audienceUri must be specified
Problem:
ID1032: At least one ‘audienceUri’ must be specified in the SamlSecurityTokenRequirement when the AudienceUriMode is set to ‘Always’ or ‘BearerKeyOnly’. Either add the valid URI values to the AudienceUris property of SamlSecurityTokenRequirement, or turn off checking by specifying an AudienceUriMode of ‘Never’ on the SamlSecurityTokenRequirement.
Context:
I have an active STS implemented which can happily issue tokens but throws the quoted exception in case of issuing ActAs-tokens.
Solution:
I had to add the AudienceUris section to the ActAs handler section:
1 | <microsoft.identityModel> |