def remove_sas_token(sas_uri: str) -> str:
    """Removes the SAS Token from the given URI if it contains one"""
    index = sas_uri.find("?")
    if index != -1:
        sas_uri = sas_uri[0:index]

    return sas_uri