A computer program for causing an information processing apparatus that is configured to execute authentication processing with a communication apparatus by a plurality of authentication schemes, to: perform display control to cause a display unit to display a guide for performing the authentication processing with the communication apparatus in accordance with one of the plurality of authentication schemes, in a case where the information processing apparatus has obtained information from the communication apparatus by predetermined communication; and execute the authentication processing with the communication apparatus in accordance with an operation performed by a user after the guide is displayed by a control performed in the display control, wherein first authentication processing that does not require a user to input authentication information into the information processing apparatus is performed, after a first guide is displayed based on that the obtained information includes information related to a first authentication scheme and second authentication processing that requires a user to input authentication information into the information processing apparatus is performed after a second guide or a third guide is displayed, in a case where the obtained information includes information related to a second authentication scheme, in a case in which the obtained information further includes first capability information of the communication apparatus in addition to the information related to the second authentication scheme, the second guide is displayed, and in a case in which the obtained information further includes second capability information of the communication apparatus in addition to the information related to the second authentication scheme, the third guide is displayed, in the display control, in a case in which the first capability information of the communication apparatus indicates that the communication apparatus includes a screen configured to display the authentication information, the display unit is made to display the second guide indicating that the authentication information notified to the user by being displayed on the screen by the communication apparatus is to be input to the information processing apparatus, and in a case in which the communication apparatus is a printer and the second capability information of the communication apparatus indicates that the communication apparatus does not have a screen configured to display the authentication information, the display unit is made to display the third guide indicating that the authentication information notified to the user by being printed by the communication apparatus is to be input to the information processing apparatus. perform display control to cause a display unit to display a guide for performing the authentication processing with the communication apparatus in accordance with one of the plurality of authentication schemes, in a case where the information processing apparatus has obtained information from the communication apparatus by predetermined communication; and execute the authentication processing with the communication apparatus in accordance with an operation performed by a user after the guide is displayed by a control performed in the display control, wherein first authentication processing that does not require a user to input authentication information into the information processing apparatus is performed, after a first guide is displayed based on that the obtained information includes information related to a first authentication scheme and second authentication processing that requires a user to input authentication information into the information processing apparatus is performed after a second guide or a third guide is displayed, in a case where the obtained information includes information related to a second authentication scheme, in a case in which the obtained information further includes first capability information of the communication apparatus in addition to the information related to the second authentication scheme, the second guide is displayed, and in a case in which the obtained information further includes second capability information of the communication apparatus in addition to the information related to the second authentication scheme, the third guide is displayed, in the display control, in a case in which the first capability information of the communication apparatus indicates that the communication apparatus includes a screen configured to display the authentication information, the display unit is made to display the second guide indicating that the authentication information notified to the user by being displayed on the screen by the communication apparatus is to be input to the information processing apparatus, and in a case in which the communication apparatus is a printer and the second capability information of the communication apparatus indicates that the communication apparatus does not have a screen configured to display the authentication information, the display unit is made to display the third guide indicating that the authentication information notified to the user by being printed by the communication apparatus is to be input to the information processing apparatus.