def by_scoped_role_membership_id(self,scoped_role_membership_id: str) -> ScopedRoleMembershipItemRequestBuilder:
        """
        Provides operations to manage the scopedMembers property of the microsoft.graph.directoryRole entity.
        param scoped_role_membership_id: The unique identifier of scopedRoleMembership
        Returns: ScopedRoleMembershipItemRequestBuilder
        """
        if scoped_role_membership_id is None:
            raise TypeError("scoped_role_membership_id cannot be null.")
        from .item.scoped_role_membership_item_request_builder import ScopedRoleMembershipItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["scopedRoleMembership%2Did"] = scoped_role_membership_id
        return ScopedRoleMembershipItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the scopedMembers property of the microsoft.graph.directoryRole entity.
        param scoped_role_membership_id: The unique identifier of scopedRoleMembership
        Returns: ScopedRoleMembershipItemRequestBuilder
        
msgraph/generated/directory_roles/item/scoped_members/scoped_members_request_builder.py