A first electronic device comprising: a sensor module configured to collect data; a display configured to display at least a portion of the data; a communication module configured to communicate with a second electronic device ; a memory configured to store the data; and a processor operatively connected to the sensor module , the display , the communication module , and the memory , the processor is configured to: obtain account information on at least one account joined to a sharing service from the second electronic device ; analyze the account information to verify the at least one account, wherein when the at least one account is in an inactivation state, display an execution screen to indicate that the at least one account is in the inactivation state, display a first object , on the execution screen , configured to activate the at least one account, and when the at least one account is in an activation state; display a second object , corresponding to at least one portion of the data, on the execution screen , display, on the execution screen , a third object , which can be selected to allow to share the at least one portion of the data with the sharing service, wherein when the third object is selected, transmitting, to the second electronic device , exercise information including the at least one portion of the data. a sensor module configured to collect data; a display configured to display at least a portion of the data; a communication module configured to communicate with a second electronic device ; a memory configured to store the data; and a processor operatively connected to the sensor module , the display , the communication module , and the memory , the processor is configured to: obtain account information on at least one account joined to a sharing service from the second electronic device ; analyze the account information to verify the at least one account, wherein when the at least one account is in an inactivation state, display an execution screen to indicate that the at least one account is in the inactivation state, display a first object , on the execution screen , configured to activate the at least one account, and when the at least one account is in an activation state; display a second object , corresponding to at least one portion of the data, on the execution screen , display, on the execution screen , a third object , which can be selected to allow to share the at least one portion of the data with the sharing service, obtain account information on at least one account joined to a sharing service from the second electronic device ; analyze the account information to verify the at least one account, wherein when the at least one account is in an inactivation state, display an execution screen to indicate that the at least one account is in the inactivation state, display a first object , on the execution screen , configured to activate the at least one account, and when the at least one account is in an activation state; display a second object , corresponding to at least one portion of the data, on the execution screen , display, on the execution screen , a third object , which can be selected to allow to share the at least one portion of the data with the sharing service, wherein when the third object is selected, transmitting, to the second electronic device , exercise information including the at least one portion of the data. <EOS>