ConfigMgr 1610 Windows Store for Business Integration Failed

ConfigMgr 1610 Windows Store for Business Integration Failed to encrypt client secret key.

Windows Store for Business Integration is failing when I attempted to integrate Windows Store for business from ConfigMgt1610 Primary Site. In my scenario SCCM MP is hosted on remote server configured with SQL replica databases. Remote MP Servers do not have ConfigMgr Console Installed. It seems installing Configmgr console might fix the issue but not sure ! I am currently seeking solution for this.


I have tried Configuring WSFB integration from SCCM Primary Site without MP Role but integration failed. Also, tried from remote console on server but not site server, Integration failed. I will try to install console on DP, will inform outcome.

Issue explained in TechNet.

System.Security.Cryptography.CryptographicException

Failed to encrypt client secret key.

Stack Trace:

at Microsoft.ConfigurationManagement.AdminConsole.Wsfb.WindowsStoreForBusinessDataHandler.EncryptSecretKey(SecureString clientSecretKey)

at Microsoft.ConfigurationManagement.AdminConsole.Wsfb.WindowsStoreForBusinessDataHandler.StoreWsfbOnboradingData()

at Microsoft.ConfigurationManagement.AdminConsole.Wsfb.WsfbAccountSignInPageControl.PostApply(BackgroundWorker worker, DoWorkEventArgs e)

at Microsoft.ConfigurationManagement.AdminConsole.SmsWizardPage.PostApply(BackgroundWorker worker, DoWorkEventArgs e)
at Microsoft.ConfigurationManagement.AdminConsole.SmsWizardForm.PostApply(SmsWizardPage page, BackgroundWorker worker, DoWorkEventArgs e)
at Microsoft.ConfigurationManagement.AdminConsole.SmsWizardForm.PostApply(BackgroundWorker worker, DoWorkEventArgs e)
at Microsoft.ConfigurationManagement.AdminConsole.ProgressPage.backgroundWorkerPostApply_DoWork(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)


Fix
1. Type MSTSC /Admin

2. RDP to SCCM Primary Site Server.

3. Right Click on SCCM Console Icon, Select Run As Administrator.

4. Go to \Administration\Overview\Cloud Services\Windows Store for Business, Right Click - Select Add Windows Store for Business Account.
5. Click Next on General Page
6. On Configuration Page, Specify Tenant, Client ID, Client Secret Key. Click Verify and specify network store applications.
7. Click Next on Language, Complete the Wizard.





Comments

Popular posts from this blog

How to enable iOS unmanaged apps to read managed contacts & write unmanaged contacts without compromising security using Microsoft Intune

How to deploy Application (offline installer DMG) on Apple MacOS Devices using Microsoft Intune

ConfigMgr CB Backup Failing