An information processing apparatus carries out license return at the same time as carrying out license activation and returns only a license that can bring about a beneficial effect by being returned according to a state of a held license. Further, if a plurality of licenses is associated with a single serial number, the information processing apparatus returns the plurality of licenses collectively.