1. An electronic device comprising: a secure memory including at least one profile; a memory configured to store profile extended information; a communication interface configured to perform a network search and search a wireless network access point (AP); and a processor configured to: generate profile extended information for each of the at least one profile, based on profile information, update the profile extended information based on network information obtained by a network search, verify an authentication method of the wireless network AP from the profile extended information, switch a first profile with a second profile of an operator of the wireless network AP, when the authentication method of the wireless network AP is subscriber identifier module (SIM) authentication, and switch the second profile of the operator of the wireless network AP with the first profile, when authentication of the wireless AP is complete.