def by_access_package_id1(self,access_package_id1: str) -> AccessPackageItemRequestBuilder:
        """
        Provides operations to manage the accessPackagesIncompatibleWith property of the microsoft.graph.accessPackage entity.
        param access_package_id1: The unique identifier of accessPackage
        Returns: AccessPackageItemRequestBuilder
        """
        if access_package_id1 is None:
            raise TypeError("access_package_id1 cannot be null.")
        from .item.access_package_item_request_builder import AccessPackageItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["accessPackage%2Did1"] = access_package_id1
        return AccessPackageItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the accessPackagesIncompatibleWith property of the microsoft.graph.accessPackage entity.
        param access_package_id1: The unique identifier of accessPackage
        Returns: AccessPackageItemRequestBuilder
        
msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/access_packages_incompatible_with_request_builder.py