Hello DALAL Meera, welcome to Microsoft Q&A forum.
Edge is automatically signing you into Account A because it's likely connected to your Windows account through Single Sign-On. The main solution is to set which profile Edge should use by default:
- In Edge, go to Settings > Profiles > Profile preferences
- Look for "Default profile for external links" and set it to your Account B profile
If you don't have a separate profile for Account B yet, create one first by clicking your profile icon (top-right) > "Add profile" and sign in with Account B.
If Edge still forces Account A, you may need to turn off "Automatic sign in on Microsoft Edge" in the profile settings, or sign out of Account A completely in Edge and only use the Account B profile.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.