An electronic device comprising: at least one communication circuit; a speaker; a microphone; at least one processor operationally connected to the communication circuit, the speaker, and the microphone; and a memory storing instructions, wherein the instructions are executable by the at least one processor to cause the electronic device to: receive a first voice input through the microphone, execute first voiceprint authentication on the first voice input including determining whether the first voice input matches voice information corresponding to a user stored in the electronic device (404, 406), when the first voice input does not match the voice information, transmit a request message including first data related to the first voice input to at least one external electronic device using the communication circuit for execution of a second voiceprint authentication on the first voice input, receive a response message from the at least one external electronic device indicating whether the first voice input is authenticated under the second voiceprint authentication, receive a second voice input through the microphone, transmit second data related to the second voice input to an external server through the communication circuit for execution of at least one of Automatic Speech Recognition, ASR, or Natural Language Understanding, NLU, on the second data related to the second voice input (414, 822), and wherein the device is characterized in that the instructions are executable by the at least one processor to further cause the electronic device to: receive access information for accessing the external server from the at least one external electronic device; and access the external server based on the received access information. at least one communication circuit; a speaker; a microphone; at least one processor operationally connected to the communication circuit, the speaker, and the microphone; and a memory storing instructions, wherein the instructions are executable by the at least one processor to cause the electronic device to: receive a first voice input through the microphone, execute first voiceprint authentication on the first voice input including determining whether the first voice input matches voice information corresponding to a user stored in the electronic device (404, 406), when the first voice input does not match the voice information, transmit a request message including first data related to the first voice input to at least one external electronic device using the communication circuit for execution of a second voiceprint authentication on the first voice input, receive a response message from the at least one external electronic device indicating whether the first voice input is authenticated under the second voiceprint authentication, receive a second voice input through the microphone, transmit second data related to the second voice input to an external server through the communication circuit for execution of at least one of Automatic Speech Recognition, ASR, or Natural Language Understanding, NLU, on the second data related to the second voice input (414, 822), and wherein the device is characterized in that the instructions are executable by the at least one processor to further cause the electronic device to: receive access information for accessing the external server from the at least one external electronic device; and access the external server based on the received access information. receive a first voice input through the microphone, execute first voiceprint authentication on the first voice input including determining whether the first voice input matches voice information corresponding to a user stored in the electronic device (404, 406), when the first voice input does not match the voice information, transmit a request message including first data related to the first voice input to at least one external electronic device using the communication circuit for execution of a second voiceprint authentication on the first voice input, receive a response message from the at least one external electronic device indicating whether the first voice input is authenticated under the second voiceprint authentication, receive a second voice input through the microphone, transmit second data related to the second voice input to an external server through the communication circuit for execution of at least one of Automatic Speech Recognition, ASR, or Natural Language Understanding, NLU, on the second data related to the second voice input (414, 822), and wherein the device is characterized in that the instructions are executable by the at least one processor to further cause the electronic device to: receive access information for accessing the external server from the at least one external electronic device; and access the external server based on the received access information. receive access information for accessing the external server from the at least one external electronic device; and access the external server based on the received access information.