MsalError.InvalidOwnerWindowType Field

Definition

Invalid owner window type.

What happens?

You used "AcquireTokenInteractiveParameterBuilder.WithParentActivityOrWindow(object) but the parameter you passed is invalid.

Remediation

On .NET Standard, the expected object is an Activity on Android, a UIViewController on iOS, a NSWindow on MAC, and a IWin32Window or IntPr on Windows. If you are in a WPF application, you can use WindowInteropHelper(wpfControl).Handle to get the window handle associated with a WPF control
public const string InvalidOwnerWindowType;
val mutable InvalidOwnerWindowType : string
Public Const InvalidOwnerWindowType As String 

Field Value

Applies to