Skype Bot-尝试连接到Office Skype for business

时间:2018-08-18 05:34:32

标签: python botframework bots skype-for-business

我试图通过连接到我们的办公室Skype for business创建Skype机器人:

$ python
Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from skpy import Skype
>>> sk = Skype('user@org.com', 'password') # connect to Skype
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\site-packages\skpy\main.py", line 69, in __init__
    self.conn.getSkypeToken()
  File "C:\Python27\lib\site-packages\skpy\conn.py", line 266, in getSkypeToken
    self.liveLogin(user, pwd)
  File "C:\Python27\lib\site-packages\skpy\conn.py", line 368, in liveLogin
    self.tokens["skype"], self.tokenExpiry["skype"] = SkypeLiveAuthProvider(self).auth(user, pwd)
  File "C:\Python27\lib\site-packages\skpy\conn.py", line 542, in auth
    t = self.sendCreds(user, pwd, params)
  File "C:\Python27\lib\site-packages\skpy\conn.py", line 575, in sendCreds
    raise SkypeAuthException(errMsg, loginResp)
skpy.core.SkypeAuthException: (u"That Microsoft account doesn't exist. Enter a different account or get a new one.", <Response [200]>)
>>>

我不确定是要连接到我们的办公室Skype for business还是公共的,因为我确定我在代码中使用了正确的组织用户名/密码。

如何连接到Office Skype for Office创建Bot?

0 个答案:

没有答案