I have to migrate entitlements records from On-premise to an online environment. While moving using Kingsway soft, I am getting below error when I am trying to move entitlement with Status -
CRM service call returned an error: You can't set an entitlement to the Expired state when it is in draft state. Active entitlements automatically expire when their end date passes.
If I just move entitlement record without status, then entitlement record is getting created in Draft status and I am again getting the same error while updating it's status.
Entitlements are asynchronous jobs - copy them as 'Draft' the online service will expire them after end date passes (as the error tells you)
Related
We want to use this API https://learn.microsoft.com/en-us/windows/uwp/monetize/get-subscriptions-for-a-user to be called from a renewal job to identify if the user's subscription has been renewed or not as expected to extend the license in our system. We want to detect the following scenarios:
User's subscription is renewed successfully for the next cycle.
User's subscription failed to renew successfully because of billing failure (Current Active)
User's subscription failed to renew successfully because of billing failure (Past expiration)
User opted out of renewal and the subscription expired.
User opted out of next renewal but current subscription is active.
We can determine the states 1-4 as per the documentation but how to determine for #5. We have the following understanding for the four states, based on the value of recurrenceState property:
User's subscription is renewed successfully for the next cycle - Active
User's subscription failed to renew successfully because of billing failure (Current Active) - InDunning
User's subscription failed to renew successfully because of billing failure (Past expiration) - Failed
User opted out of renewal and the subscription expired - InActive
User opted out of next renewal but current subscription is active - ?
Based on your description, scenario 5 is equivalent to: The subscription is active and the user is entitled to use the services in the current cycle. The subscription does not reach the terminal status at this time.
The state should not be changed whether auto-renew option is turned on or off. So the state of scene 5 is Active as well.
The response includes a autoRenew field. If the autoRenew field is set to false AND state is Active it results into the #5 scenario.
For testing our application I need to insert/update google calendar events and verify edge cases like if a meeting invite is > 30 days it should not be shown to end user. I am doing this setup for a single gmail id testaccount#.com and trying to manipulate events to cover all the edge cases.
Following this link - https://developers.google.com/calendar/v3/reference/events/insert
1) I created a new project https://console.cloud.google.com.
2) Enabled Google Calendar API
3) Set up OAuth Client for credentials.json
4) Ran python quick start to get 10 calendar event - to verify step 3 was correct.
5) Now to insert an event added following scope on consent screen
https://www.googleapis.com/auth/calendar
https://www.googleapis.com/auth/calendar.events
6) Regenerate credential, so that it does have newly added scope for inserting event.
I am getting following error message -
HttpError 403 when requesting https://www.googleapis.com/calendar/v3/calendars/primary/events?alt=json returned "Insufficient Permission: Request had insufficient authentication scopes."
I have also tried using email id in place of "primay" and again ending up with the same error.
I had the same problem (=error message).
Check out in the top of the demo software the following lines:
# If modifying these scopes, delete the file token.pickle.
SCOPES = ['https://www.googleapis.com/auth/calendar.readonly']
and modify to
# If modifying these scopes, delete the file token.pickle.
SCOPES = ['https://www.googleapis.com/auth/calendar']
then delete your token.pickle file,
then rerun your script.
If your all credentials is done perfectly. you can just simplly edit a line
Go to your index.php or your filename where you generated get client and overrice the line below
$client->setScopes(Google_Service_Calendar::CALENDAR_READONLY);
To
$client->setScopes(Google_Service_Calendar::CALENDAR);
and also make sure you have permission to create events.
Hope it will helped.
$client->setScopes(Google_Service_Calendar::CALENDAR_READONLY);
Change this to:
$client->setScopes(Google_Service_Calendar::CALENDAR_EVENTS);
Mobile offline profile defines that every account should be downloaded. Status of the accounts is "available" in the mobile app. However, when we go offline, no account record can be opened due to following error in Event Viewer:
The requested record was not found or you do not have sufficient permissions to view it.
Inner Error Message:
**
Offline store failed with error: 'Error: SQLite.SQLiteException: no such table: account
at Microsoft.MicrosoftDynamicsCRMforWindows10!+0x2c1548
at Microsoft.MicrosoftDynamicsCRMforWindows10!+0x366779
at Microsoft.MicrosoftDynamicsCRMforWindows10!+0x36552a
at System.Collections.Generic.List..ctor(Collections.Generic.IEnumerable collection)
at Microsoft.MicrosoftDynamicsCRMforWindows10!+0x35bda2
at Microsoft.MicrosoftDynamicsCRMforWindows10!+0x35bb44
at System.Action.Invoke()
at Microsoft.MicrosoftDynamicsCRMforWindows10!+0x35b50c
at Microsoft.MicrosoftDynamicsCRMforWindows10!+0x35b3af' while trying to retrieve with key 'account:'
**
Also, following status is maintained in the application:
"An administrator made changes to the Dynamics 365 system that might affect offline availability. We're working on getting everything back in sync."
This message is more than 1 week for now.
Anybody has an idea to fix this? Version is V8.2 and user has sufficient permissions to access accounts.
We have added a user to our enterprise office365 account , We were able to send a few emails but when we are trying to send more emails using ews api
we are getting the below exception
microsoft.exchange.webservices.data.core.exception.service.remote.ServiceResponseException: Access is denied. Check credentials and try again., Cannot save changes made to an item to store.
Could someone please point if we need to provide additional permission to this user to send emails , if so could you please let us know which permissions to provide
Updated this user with admin role but still no luck getting the same exception
Symptoms
POA background task Update settings for mailbox fails with the following error:
Task ID 5483156
Queue name DomainService00022874
Task name Update settings for resource mailbox 'testbox' (id=576829) Task description Update settings for resource mailbox 'testbox' (id=576829)
Queue status Failed
Start not earlier than Dec-19-2011 22:32
Method name setResourceMailBoxInfoHandler on OBJREF:Exchange:0:getMailBox:576829 Last execution output Provisioning request failed. Cannot save changes made to an item to store.
Error position:
At C:\Program Files\Parallels\Windows Provisioning Engine\Providers\SW Managed Exchange\ModifyResourceMailbox.ps1:172 char:25 + Set-CalendarProcessing #calendarProcessingProps
Type: Parallels.Wpe.PowerShell.PowerShellException.`
Cause
The target mailbox has been created with a disk space quota of zero. It is impossible to save its properties due to the lack of assigned disk space.
Resolution
Increase the disk space quota for the mailbox and resubmit the task.
[PS] C:>\ Set-Mailbox "user mail id" -ProhibitSendQuota -ProhibitSendReceiveQuota -IssueWarningQuota
We accidently deleted an already created OAuth 2.0 client id for a specific package name / certificate hash in an API project.
When now trying to re-create this OAuth 2.0 client id for that package name / certificate hash we are getting the error "An unexpected error has occurred. We're looking into it.".
Is there a way to re-activate such a deleted OAuth 2.0 client-id or to simply re-create it?
"Accidently deleted" because we fall into the problem that for testing and developing we used an other google account and wanted to re-create the OAuth 2.0 client id with the google account we use for publishing. But these seems to be not possible (Getting the same error). Using another package name or certificate is no option as the app is already published.
There's no way to create another project with the same package name/hash pair, however you can restore the deleted project by selecting Undelete in the drop down menu on the left side of the page.