def by_profile_photo_id(self,profile_photo_id: str) -> ProfilePhotoItemRequestBuilder:
        """
        Provides operations to manage the photos property of the microsoft.graph.user entity.
        param profile_photo_id: The unique identifier of profilePhoto
        Returns: ProfilePhotoItemRequestBuilder
        """
        if profile_photo_id is None:
            raise TypeError("profile_photo_id cannot be null.")
        from .item.profile_photo_item_request_builder import ProfilePhotoItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["profilePhoto%2Did"] = profile_photo_id
        return ProfilePhotoItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the photos property of the microsoft.graph.user entity.
        param profile_photo_id: The unique identifier of profilePhoto
        Returns: ProfilePhotoItemRequestBuilder
        
msgraph/generated/users/item/photos/photos_request_builder.py