De AttributeNamespace should be the namespace of the attribute not http://schemas.xmlsoap.org/claims

When configuring sharepoint to use simplesamlphp as an adfs idp, after configuring sharepoint did not find my attributes
The attributes sharepoint was looking for was

$emailClaimMap = New-SPClaimTypeMapping -IncomingClaimType "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress" -IncomingClaimTypeDisplayName "EmailAddress" -SameAsIncoming

After applying the patch, the attributes came trough.

The mapping is incorrect when using default mapping guidelines