Category: blog

Browse e-smartsolution’s blog

 

Microsoft Power Automate Concurrency Control

Concurrency Control
Limit number of concurrent runs of the flow, or leave it off to run as many as possible at the same time. Concurrency control changes the way new runs are queued. It cannot be undone once enabled.
Limit
Concurrency Control

Microsoft Power automate, encodian Insert HTML to PDF, BadGateway 502 solution

Microsoft Power automate, encodian Insert HTML to PDF, BadGateway 502 solution
Error message and action Action ‘Insert_HTML_to_PDF’ failed
BadGateway html to pdf


{
  "error": {
    "code": 502,
    "source": "flow-apim-europe-001-northeurope-01.azure-apim.net",
    "clientRequestId": "7dd5f762-ee40-4c41-8541-9df5b92281d4",
    "message": "BadGateway",
    "innerError": {
      "HttpStatusCode": 500,
      "HttpStatusMessage": "An error occurred processing the request",
      "OperationId": "3626fc0e-574b-4447-a4fb-bbeef023b27a\\1",
      "Errors": [],
      "Operation Status": "Error",
      "Filename": null,
      "FileContent": null
    }
  }
}

Solution 1: Rebsumit it
If the error code 500 or 502 appears, the failure is temporary or transient. Click or tap Resubmit to try the flow again.

Solution 2: Double-check the original PDF you are try to appaend is OK first.
You can not preview the file SharePoint by the browser the “Insert HTML to PDF” process will fail.
Hmm.. Looks like this file doesn’t have a preview we can show you.

In our case the uploading document by Power apps were not decoding the final document on SharePoint

Share an app with Microsoft 365 Groups

Share an app with Microsoft 365 Groups. Ppower apps how give implicit access to sharepoint group?
Ensure you have access to the Azure AD cmdlets.

Go to Azure portal > Azure Active Directory > Groups > Select the appropriate group > Copy the Object Id.

1 Connect to Azure AD using PowerShell:

code>
C:\system>system32> Connect-AzureAD

2- Get-AzureADGroup -ObjectId 9d046f003-93b7-4691-9935-174139c990d3 | select *

3 If the group isn’t security enabled, you can enable it using PowerShell cmdlet Set-AzureADGroup by setting the SecurityEnabled property to True:

code>
C:\system>system32>Set-AzureADGroup -ObjectId 9d046f003-93b7-4691-9935-174139c990d3 -SecurityEnabled $True

Assign a security group in Azure AD to a role
In the sharing panel, select Assign a security role under Data permissions.

Select the Dataverse role(s) that you want to apply to the selected Azure AD user(s) or group(s):

What CMOS Settings Wrong, CMOS date/Time Not Set?

The CMOS Settings Wrong, CMOS Date/Time Not Set are telling you the date on the device is not set.

What CMOS Settings Wrong, CMOS date/Time Not Set?
what is CMOS? CMOS is Complementary Metal–Oxide–Semiconductor or CMOS RAM, Non-Volatile RAM (NVRAM), Non-Volatile BIOS memory: Most CMOS batteries will last the lifetime of a motherboard, up to 10 years in most cases.

1- It’s possible if the device was a long time without power and the CMOS battery is drained out or either the CMOS battery is dead.

1- Solution A – if the CMOS battery is not dead you connect to power and set the date and time and let the device charge that battery. If after a long time you can remove the power cable and reconnect it. If you restart the device and do you still seeing the same message about “CMOS Settings Wrong”: Definitely the CMOS battery is dead!
2- Solution B – You will replace the CMOS battery; you search by brand and model and buy a new battery.

Zoom offers integrated live transcription

The live transcription is available at moment for “Licenced users”

To Enable it, go your account > Settings, and to section bellow and enable: “Closed captioning” and Enable live transcription service to show transcript on the side panel in-meeting


Closed captioning:
Allow host to type closed captions or assign a participant/third party device to add closed captions
Enable live transcription service to show transcript on the side panel in-meeting

Enable Close Captioning

Enabling the live transcription on the Zoom meeting:

Start the meeting
Click CC/Live Transcript button that appears on Zoom toolbar
Click Enable Auto-Transcription
Enabling the live transcription on the Zoom meeting

 

Microsoft form with upload file, Who can fill in this form?

Microsoft form with upload file, Who can fill in this form?

The option; Anyone can respond -is disabled when the form has an upload file:
File upload is only available when “Only people in my organisation can respond” is the selected setting

When you add a file upload to a form, the form cannot be shared with anyone link and is restricted to other people within your organization.

Who can fill in this form?
The reason is that uploaded files for personal forms are stored in the form creator’s OneDrive for Business account, at date of 24/12/2020 only the users inside the Office 365(Active Directory) can access the form with the upload option.

Solution for Drupal 8, The website encountered an unexpected error. Please try again later.

Solution for Drupal 8, The website encountered an unexpected error. Please try again later.

The website stoped working and also the admin section.

1- Change the configuration to display more information the error, on the configuration file:
/sites/default/settings.php and add:


$config['system.logging']['error_level'] = 'verbose';

2- After if you update your browser you see more information about the error – on our case: The issue was the connection to the database


The website encountered an unexpected error. Please try again later.
PDOException: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.
 in Drupal\Component\DependencyInjection\PhpArrayContainer->createService() 
 (line 79 of C:\xampp\htdocs\e-smartsolutionCMS\core\lib\Drupal\Component\DependencyInjection\PhpArrayContainer.php).

Drupal\Component\DependencyInjection\PhpArrayContainer->createService(Array, 'database') (Line: 173)
Drupal\Component\DependencyInjection\Container->get('database', 1) (Line: 212)
Drupal\Component\DependencyInjection\PhpArrayContainer->resolveServicesAndParameters(Array) (Line: 62)
Drupal\Component\DependencyInjection\PhpArrayContainer->createService(Array, 'cache.container') (Line: 173)
Drupal\Component\DependencyInjection\Container->get('cache.container') (Line: 544)
Drupal\Core\DrupalKernel->getCachedContainerDefinition() (Line: 910)
Drupal\Core\DrupalKernel->initializeContainer() (Line: 477)
Drupal\Core\DrupalKernel->boot() (Line: 707)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Solution Kubectl exec command terminated with exit code 126

The Solution Kubectl exec command terminated with exit code 126,


>kubectl --kubeconfig="config.yaml"  exec --stdin --tty esmartpod-56c88948597-8gn8x --namespace="services" -- /bin/bash

Error:
OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"/bin/bash\": stat /bin/bash: no such file or directory": unknown
command terminated with exit code 126

Solution: After investigating the reason why this pod does not has a /bin/bash executable, trying with — /bin/sh instead and et voila is working


>kubectl --kubeconfig="config.yaml"  exec --stdin --tty esmartpod-56c88948597-8gn8x --namespace="services" -- /bin/sh

Brexit Data Protection: action needed to continue with transfers of personal data from EU to UK after 31 December 2020 and from UK/EU to other jurisdictions

Brexit Data Protection: action needed to continue with transfers of personal data from EU to UK after 31 December 2020 and from UK/EU to other jurisdictions

post-Brexit transition period due to end on 31 December, as well as recent developments that have a significant impact on transfers of personal data from the UK/EU to other jurisdictions, we wanted to alert you that there are likely to be additional legal compliance steps that you should be taking now with regard to:

• any sharing of personal data from the EEA to the UK
• any sharing of personal data from the UK/EEA to other jurisdictions
• record keeping and consideration of UK and/or EEA representative requirements

The UK – Personal data of UK data subjects only

Personal data of UK data subjects only
The UK GDPR is very similar to the existing EU GDPR. Therefore, businesses in the UK that are collecting and processing data of UK data subjects in compliance with the existing legislation are unlikely to need to make significant changes to prepare for the end of the transition period.

The UK, Personal data of EU27 data subjects
Businesses that are based in the UK and process data of EU27 data subjects will now be bound by the EU GDPR by virtue of its extra-territorial effect to such UK businesses, rather than directly.

Google Data Studio

The Google Data Studio – Turn your data into informative dashboards and reports that are easy to read, easy to share and fully customisable. Data Studio allows you to tell great data stories to support better business decisions.  Create and share dynamic, visually compelling reports and dashboards.

website on Google Analytics

What means session? A single user can open multiple sessions. Those sessions can occur on the same day, or over several days, weeks, or months. As soon as one session ends, there is then an opportunity to start a new session. There are two methods by which a session ends:

Time-based expiration:
After 30 minutes of inactivity
At midnight
What means pageviews?  Pageviews is the total number of pages viewed. Repeated views of a single page are counted

What means bounce rate?
Bounce rate is a metric that measures the percentage of people who land on your website and do completely nothing on the page they entered. So they don’t click on a menu item, a ‘read more’ link or any other internal links on the page. This means that the Google Analytics server doesn’t receive a trigger from the visitor.

Example of Google Analytics – Users, sessions, pageview, and bounce rate

Users, sessions, pageview, and bounce rate