A method of controlling a scanning apparatus, the method comprising:
- displaying, based on a first user operation to the scanning apparatus that is executing a display function, a predetermined display screen for first scanning, wherein the first scanning includes scanning an original set to the scanning apparatus, generating an image data by the scanning and uploading the image data to an upload destination that is a Web service for data sharing;
- and
- if the first scanning is requested to the printing apparatus based on a second user operation to the scanning apparatus after the predetermined display screen is displayed, performing the first scanning,
- wherein, if second scanning that is different from the first scanning is requested to the scanning apparatus in a state where the predetermined display screen is displayed, the requested second scanning is not performed, at least during displaying the predetermined display screen, by executing a control based on a fact that the first user operation is executed,
- wherein the second scanning includes scanning an original set to the scanning apparatus and generating image data by the scanning and the second scanning is requested without the second user operation.