Microsoft Tech Community Live:  Microsoft Teams Edition
November 09, 2021, 08:00 AM - 12:00 PM (PST)
SOLVED

How to position the authentication popup

%3CLINGO-SUB%20id%3D%22lingo-sub-2816518%22%20slang%3D%22en-US%22%3EHow%20to%20position%20the%20authenications%20popup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2816518%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20I%20call%20(%20in%20the%20microsoftTeams%20App)%26nbsp%3B%20microsoftTeams.authentication.authenticate%20a%20popup%20appears%20in%20the%20left%20upper%20corner%3CBR%20%2F%3EI%20only%20can%20set%20width%20and%20height.%3CBR%20%2F%3EBut%20is%20there%20a%20posibility%20to%20position%20the%20box%20to%20another%20positon%2C%20like%20center%20of%20the%20teams-app.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUsing%20microsoftTeams%20in%20a%20webbrowser%20the%20popup%20is%20nicely%20centered.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2816518%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2821316%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20position%20the%20authentication%20popup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2821316%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1176792%22%20target%3D%22_blank%22%3E%40Eric_Cuijpers%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3EAs%20per%20my%20understanding%20this%20is%20not%20supported%20yet.%20You%20can't%20change%20the%20orientation%2Fposition%20of%20the%20popup.%20Thanks!%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EThanks%2C%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EPrasad%20Das%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3E-------------------------------------------------------------------------------%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EIf%20the%20response%20is%20helpful%2C%20please%20click%20%22**Mark%20as%20Best%20Response**%22%20and%20like%20it.%20You%20can%20share%20your%20feedback%20via%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FDevSupportFeedback)%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EMicrosoft%20Teams%20Developer%20Feedback%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%26nbsp%3Blink.%20Click%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FDevCommunityEscalationForm%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3Ehere%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%26nbsp%3Bto%20escalate.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

When I call ( in the microsoftTeams App)  microsoftTeams.authentication.authenticate a popup appears in the left upper corner
I only can set width and height.
But is there a posibility to position the box to another positon, like center of the teams-app.

 

Using microsoftTeams in a webbrowser the popup is nicely centered.

1 Reply
best response confirmed by ChetanSharma-msft (Microsoft)
Solution

@Eric_Cuijpers 
As per my understanding this is not supported yet. You can't change the orientation/position of the popup. Thanks!

Thanks, 

Prasad Das

-------------------------------------------------------------------------------

If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.