create login [IIS APPPOOL\Kreta.IdentityProvider] from windows; GO exec sp_addsrvrolemember N'IIS APPPOOL\Kreta.IdentityProvider', sysadmin GO