code: def create_scope(self, info, scope_id):
          
          route_values = {}
          if scope_id is not None:
              route_values['scopeId'] = self._serialize.url('scope_id', scope_id, 'str')
          content = self._serialize.body(info, 'CreateScopeInfo')
          response = self._send(http_method='PUT',
                                location_id='4e11e2bf-1e79-4eb5-8f34-a6337bd0de38',
                                version='5.0-preview.2',
                                route_values=route_values,
                                content=content)
          return self._deserialize('IdentityScope', response)
docs: CreateScope.
          [Preview API]
          :param :class:`<CreateScopeInfo> <azure.devops.v5_0.identity.models.CreateScopeInfo>` info:
          :param str scope_id:
          :rtype: :class:`<IdentityScope> <azure.devops.v5_0.identity.models.IdentityScope>`