When using the Microsoft.FeatureManagement library it appears IConfiguration needs to be registered:
Microsoft.FeatureManagement
services.AddSingleton(configuration) .AddFea