DISABLE Web Account Manager

%3CLINGO-SUB%20id%3D%22lingo-sub-2399263%22%20slang%3D%22en-US%22%3EDISABLE%20Web%20Account%20Manager%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2399263%22%20slang%3D%22en-US%22%3E%3CP%3EIf%20my%20desktop%20app%20is%20coded%20to%20use%20WAM%20(web%20account%20manager)%2C%26nbsp%3B%20for%20eg.%2C%26nbsp%3B%3C%2FP%3E%3CPRE%3E%3CSPAN%20class%3D%22pl-k%22%3Evar%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pl-en%22%3Epca%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pl-k%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pl-smi%22%3EPublicClientApplicationBuilder%3C%2FSPAN%3E.%3CSPAN%20class%3D%22pl-en%22%3ECreate%3C%2FSPAN%3E(%3CSPAN%20class%3D%22pl-s%22%3E%3CSPAN%20class%3D%22pl-pds%22%3E%22%3C%2FSPAN%3Eclient_id%3CSPAN%20class%3D%22pl-pds%22%3E%22%3C%2FSPAN%3E%3C%2FSPAN%3E)%0A%20%20%20%20%20%20%20%20%20%20.%3CSPAN%20class%3D%22pl-en%22%3EWithExperimentalFeatures%3C%2FSPAN%3E()%20%3CSPAN%20class%3D%22pl-c%22%3E%2F%2F%20in%20public%20preview%3C%2FSPAN%3E%0A%20%20%3CSTRONG%3E%20%20%20%20%20%20%20%20.%3CSPAN%20class%3D%22pl-en%22%3EWithBroker%3C%2FSPAN%3E()%3C%2FSTRONG%3E%0A%20%20%20%20%20%20%20%20%20%20.%3CSPAN%20class%3D%22pl-en%22%3EBuild%3C%2FSPAN%3E()%3B%3C%2FPRE%3E%3CP%3E%3CSTRONG%3Eis%20it%20possible%20to%20override%20this%20behavior%20(may%20be%20with%20some%20registry%20setting)%26nbsp%3B%20and%20make%20sure%20that%20my%20app%20is%20not%20using%20WAM%20to%20get%20the%20token.%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EInstead%20app%20uses%20just%20MSAL%20lib%20and%20MSAL%20does%20all%20the%20mediation%20with%20AAD%20without%20WAM%20to%20get%20the%20token.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2399263%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAccess%20Management%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Contributor

If my desktop app is coded to use WAM (web account manager),  for eg., 

var pca = PublicClientApplicationBuilder.Create("client_id")
          .WithExperimentalFeatures() // in public preview
          .WithBroker()
          .Build();

is it possible to override this behavior (may be with some registry setting)  and make sure that my app is not using WAM to get the token.

Instead app uses just MSAL lib and MSAL does all the mediation with AAD without WAM to get the token.

 

Thanks.

 

 

 

 

 

 

0 Replies