Behind the Blackboard! SAML Building Block Throws Metadata Error - Behind the Blackboard Skip Navigation
Download PDF  Icon Download PDF    Print article

SAML Building Block Throws Metadata Error

Date Published: Feb 13,2020

CategoryPlanned First Fix Release:Will Not Fix; Product:Authentication & Security,Extensions; Version:Learn 9.1 Q2 2020,Learn 9.1 Q4 2019 (3800.0.0),Learn 9.1 Q2 2018 (3400.0.0),Learn 9.1 Q4 2018 (3500.0.0),Learn 9.1 Q2 2019 (3700.0.0),SaaS
Article No.: 000050491
Blackboard Learn
Service Pack(s):
Learn 9.1 Q2 2020, Learn 9.1 Q4 2019 (3800.0.0), Learn 9.1 Q2 2018 (3400.0.0), Learn 9.1 Q4 2018 (3500.0.0), Learn 9.1 Q2 2019 (3700.0.0), SaaS
Issue Description:
The SAML Building Block throws a metadata error if the Provider was inactive when the B2 was initialized.
Steps to Repeat:
  1. Log into Blackboard Learn as a System Administrator
  2. Create a SAML Authentication Provider and set it to Inactive
  3. Toggle the Auth - SAML Building Block to Unavailable then back to Available
  4. Run a connection test on the Inactive SAML Provider

Expected Behavior:
The connection test is successful

Observed Behavior:
The connection test fails:
Connect to IDP:Failure


Sample from bb-services.log:

[ERROR] BbSAMLExceptionHandleFilter Error Id: 7f559045-5807-4f2c-ac97-96e4ee91445d - javax.servlet.ServletException: org.opensaml.saml2.metadata.provider.MetadataProviderException: Metadata for entity https://boston.pd.local/auth-saml/saml/SSO and role


SPSSODescriptor wasn't found

Caused by: org.opensaml.saml2.metadata.provider.MetadataProviderException: Metadata for entity 
https://boston.pd.local/auth-saml/saml/SSO and role


SPSSODescriptor wasn't found


Set the SAML Authentication Provider Active. Toggle the SAML B2 Inactive then back Active. The Authentication Provider > Test Connection test will work regardless of being Active/Inactive.

Target Release:

Will Not Fix

Patch Available:


The information contained in the Knowledge Base was written and/or verified by Blackboard Support. It is approved for client use. Nothing in the Knowledge Base shall be deemed to modify your license in any way to any Blackboard product. If you have comments, questions, or concerns, please send an email to © 2020 Blackboard Inc. All rights reserved