You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in code however
the .WithBroker line
Severity Code Description Project File Line Suppression State Details
Error CS1503 Argument 1: cannot convert from 'Microsoft.Identity.Client.BrokerOptions' to 'bool'
Changing that to a bool however
Severity Code Description Project File Line Suppression State Details
Error CS0619 'PublicClientApplicationBuilder.WithBroker(bool)' is obsolete: 'The desktop broker is not directly available in the MSAL package. Install the NuGet package Microsoft.Identity.Client.Broker and call the extension method .WithBroker(BrokerOptions). For details, see https://aka.ms/msal-net-wam'
The package Microsoft.Identity.Client & Microsoft.Identity.Client.Broker (vers 4.61.2) are installed. The link shown is this page in a circular reference with no resolve.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
ID: 184810a2-b0d9-eaae-5ddf-e4f98d041ae0
Version Independent ID: 184810a2-b0d9-eaae-5ddf-e4f98d041ae0
This page shows the example
BrokerOptions options = new BrokerOptions(BrokerOptions.OperatingSystems.Windows);
options.Title = "My Awesome Application";
IPublicClientApplication app =
PublicClientApplicationBuilder.Create("YOUR_CLIENT_ID")
.WithDefaultRedirectUri()
.WithParentActivityOrWindow(GetConsoleOrTerminalWindow)
.WithBroker(options)
.Build();
in code however
the .WithBroker line
Severity Code Description Project File Line Suppression State Details
Error CS1503 Argument 1: cannot convert from 'Microsoft.Identity.Client.BrokerOptions' to 'bool'
Changing that to a bool however
Severity Code Description Project File Line Suppression State Details
Error CS0619 'PublicClientApplicationBuilder.WithBroker(bool)' is obsolete: 'The desktop broker is not directly available in the MSAL package. Install the NuGet package Microsoft.Identity.Client.Broker and call the extension method .WithBroker(BrokerOptions). For details, see https://aka.ms/msal-net-wam'
The package Microsoft.Identity.Client & Microsoft.Identity.Client.Broker (vers 4.61.2) are installed. The link shown is this page in a circular reference with no resolve.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: