Reputation: 16001
I'm working on this guide and when I try to upload my edit policy I'm getting:
I was able to upload TrustFrameworkBase.xml
and TrustFrameworkExtensions.xml
.
I also tried downloading the existing edit policy I previously uploaded and re-uploading that and that fails too.
ProfileEdit.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TrustFrameworkPolicy
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://schemas.microsoft.com/online/cpim/schemas/2013/06"
PolicySchemaVersion="0.3.0.0"
TenantId="ebenefitsdev.onmicrosoft.com"
PolicyId="B2C_1A_ProfileEdit"
PublicPolicyUri="http://ebenefitsdev.onmicrosoft.com/B2C_1A_ProfileEdit">
<BasePolicy>
<TenantId>ebenefitsdev.onmicrosoft.com</TenantId>
<PolicyId>B2C_1A_TrustFrameworkExtensions</PolicyId>
</BasePolicy>
<RelyingParty>
<DefaultUserJourney ReferenceId="ProfileEdit" />
<TechnicalProfile Id="PolicyProfile">
<DisplayName>PolicyProfile</DisplayName>
<Protocol Name="OpenIdConnect" />
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="objectId" PartnerClaimType="sub"/>
<OutputClaim ClaimTypeReferenceId="city" />
<OutputClaim ClaimTypeReferenceId="extension_loyaltyId" />
</OutputClaims>
<SubjectNamingInfo ClaimType="sub" />
</TechnicalProfile>
</RelyingParty>
</TrustFrameworkPolicy>
Upvotes: 1
Views: 257
Reputation: 16001
I was able to fix my issue. I had the ApplicationObjectId in the ClientId field and vice versa from this step. Once I fixed that, the issue when away.
I submitted a PR to improve the documentation.
Upvotes: 1