Response group members are not updated - lync-2013

Lync 2013 Response group members are not updated
I have created Lync2013 Response group using New-CsRgsAgentGroup with -DistributionGroupAddress parameter but if I will update(add/remove) members from the distribution group the same is not getting reflected in the response group AgentsByUri.
I have also tired to use Update-CsAddressBook and Update-CsUserDatabase but these does not work.
can anyone plese help me to understand the sync mechanism?
Thanks

you have to restart the Reponse Goups Services on each Front Ent Server or wait for about 15 minutes, for that type services.msc and find the service

Related

Paypal - request multiple authorizations for an order

How do I create multiple authorizations for an order?
According to the docs:
An order is valid for 29 days. During this period, you can request from one to ten or more authorizations to ensure the availability of funds. By default, you can make up to ten basic authorizations for each order. https://developer.paypal.com/docs/integration/direct/payments/orders/#overview
I tried creating an order with intent=authorize and then post with
https://api.paypal.com/v2/checkout/orders/orderId/authorize
First it succeeded, yet when I want to create another authorization, it gave me error:
issue":"ORDER_ALREADY_AUTHORIZED","description":"Order already authorized.If 'intent=AUTHORIZE' only one authorization per order is allowed." "debug_id":"47084737aefa3"
So I canceled the original authorization and then tried to create a new one, still got the same error.
Then I changed intent=capture, it gave me
"name":"UNPROCESSABLE_ENTITY","details":[{"issue":"ACTION_DOES_NOT_MATCH_INTENT","description":"Order was created with an intent to 'CAPTURE'. Please use v2/checkout/orders/order_id/capture to complete the transaction or alternately Create an order with an intent of 'AUTHORIZE'."
"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"8c381672a8f1e"
Any help would be much appreciated!!!
The documentation you linked to is for v1/payments/orders, which are deprecated and very different in function and purpose from v2/checkout/orders.
v2/checkout/orders can only be captured a single time. An intervening authorization step is optional, if you need it.

Possibly a bug. PowerShell get-team searchs $filter=resourceProvisioningOptions/Any(x:x eq 'Team')

MS Graph API for Teams can create a team without resourceProvisioningOptions property set.
But, when get all teams with PowerShell 0.9.5(Microsoft.TeamsCmdlets.PowerShell.Custom.dll), it calls HTTP Get with "https://graph.microsoft.com/beta/groups?$filter=resourceProvisioningOptions/Any(x:x eq 'Team')"
So, it cannot returns all teams.
According to your description, I assume you want to list the teams by using the Power Shell.
I have tied this, and it works. First, I tried the following API GET https://graph.microsoft.com/beta/groups?$filter=resourceProvisioningOptions/Any(x:x eq 'Team') on the MS Graph Explorer. And it works. Then, I tried this API on the PowerShell, it works too.
According to this document,
If the group was created less than 15 minutes ago, it's possible for the Create team call to fail with a 404 error code due to replication delays.
So it maybe the reason about you could not get all the teams

Orientdb: Error executing live query subscriber

Orientdb throws on each live query subscripion using binary protocoll following Nullpointer exception:
Error executing live query subscriber. java.lang.NullPointerException at com.orientechnologies.orient.server.network.protocol.binary.OLiveCommandResultListener.onLiveResult(OLiveCommandResultListener.java:113)
at com.orientechnologies.orient.core.sql.OCommandExecutorSQLLiveSelect$2.call(OCommandExecutorSQLLiveSelect.java:134)
at com.orientechnologies.orient.core.sql.OCommandExecutorSQLLiveSelect.execInSeparateDatabase(OCommandExecutorSQLLiveSelect.java:144)
at com.orientechnologies.orient.core.sql.OCommandExecutorSQLLiveSelect.onLiveResult(OCommandExecutorSQLLiveSelect.java:131)
at com.orientechnologies.orient.core.query.live.OLiveQueryQueueThread.run(OLiveQueryQueueThread.java:69)
The Live Query is subscribed by one client: "live select from Account where CheckInDateTime like "2018-02-25%"", Orientdb returns also the live request token ID gracefully. But when another client updates Account with "update Account set CheckInDateTime = "2018-02-25 13:00:00"" the mentioned NullPointerexception is thrown. I've tried to use versions 2.2.30 and 2.2.32 Comunity, DB Administrator and Server Administrator accounts. Also loading of plugins seems not to work (even the used version is 2.2.30 and 2.2.32 where Live Query should be enabled at server by default). Nothing seems to help to get that work, also queries like "live select from account" (without where ...).
Any further ideas? Thx.
Currently live queries do not support the WHERE clause you included in the query.
You can only select entire collections or V and E (which is what I use to get all updates)
If you would like to filter using that where, you will have to write it yourself in code.
Thx for answering mitchken! Fortunately, I found the mistake. The TCP connection from client to DB was in wrong state (must be all the time in waitforreadyread).

How to get all deployment process request within a Timeframe using UrabanCode Deploy REST API?

I am looking for REST API option in UrabanCode Deploy to get all deployment process within a particular time-frame. Let's say
- All deployment process request id submitted within 24 hours.
- All Deploy process request submitted in Last 7 Days etc.
I have checked the possibility in applicationProcessRequest Rest API with filterValue option as suggested in this question but no luck. Its displaying all process request.
http://localhost:8443/rest/deploy/applicationProcessRequest/table?filterValue_submittedTime=1473282726868
I am looking filter option to limit the result based on date field.
Does anyone know UrbanCode REST API that return all applicationProcessRequest id's within a time-frame?
I will really appreciate your help. Thanks.
We can get list of deployment process request id from /rest/report/adhoc endpoint.
Parameters are:
dateRange: custom, currentWeek, currentMonth
date_low: UnixTimestamp in milliseconds (Required if dateRange is
custom)
date_hi: UnixTimestamp in milliseconds (Required if
dateRange is custom)
orderField: Order field
sortType: Sort type asc/desc
type: Report type
com.urbancode.ds.subsys.report.domain.deployment_report.DeploymentReport
Syntax:
http://localhost:8443/rest/report/adHoc?dateRange=custom&date_low=<START_DATE>&date_hi=<END_DATE>&orderField=application&sortType=asc&type=com.urbancode.ds.subsys.report.domain.deployment_report.DeploymentReport
e.g
http://localhost:8443/rest/report/adHoc?dateRange=custom&date_low=1472702400000&date_hi=1474430400000&orderField=application&sortType=asc&type=com.urbancode.ds.subsys.report.domain.deployment_report.DeploymentReport

How to get Yammer messages of particular group?

I used
https://www.yammer.com/api/v1/search.json
but am getting all the messages of yammer.
But I am in need of getting messages only for 1 group.
There is no group paramter in above API to sort.
I am in need of search message/topic of particular group.
Help is appreciated !
This is the API you would need to call:
https://www.yammer.com/api/v1/messages/in_group/{{group_id}}.json
I don't see this specifically supported in the Yammer Developer Docs so make sure you understand that it might be removed or changed in the future:
https://developer.yammer.com/v1.0/docs/rest-api-rate-limits
You could also use the Data Export Api and that generates a csv of messages that you could filter on group ids.
It's not possible to search by group using the API. What you can do though is to filter the JSON response by the group ID. For example, if your group ID is 12346, fetch the response then apply a custom filter in your code to get all messages that has "messages.group_id:12346".